title: How to override explicitly defined Java source files for Javadoc using additional options files?
body: <p>I have some tool creating an options file for Javadoc containing lots of individual Java source files to process. That tool simply adds all Java files automatically and allows me to add additional options files to the process created manually. The goal is to use such an additional options file to make Javadoc ignore some of the explicitly defined source files.</p>
  
  <p>The first automatically generated options file looks like the following:</p>
  
  <pre><code>-classpath '[...]'
  -d '[...]'
  -doctitle '[...]'
  'C:\\Users\\[...]\\package-info.java'
  'C:\\Users\\[...]\\[...].java'
  [...]
  </code></pre>
  
  <p>It contains a lot more paths for each individual Java-file in my project of course. The tools then invokes Javadoc the following way, where all but the first options file is the one I have control over:</p>
  
  <pre><code>javadoc @optsFile1 @optsFile2 @optsFile3
  </code></pre>
  
  <p><strong>So, is it possible at all to somehow override the explicit paths of the first file using some options in the later files only?</strong></p>
  
  <p>I already tried various combinations of <code>-exclude</code> and <code>-subpackages</code>, but none of them worked. Javadoc always seems to process the explicitly defined files of the first and as well outputs their HTML. I don't care about unnecessary processing those files as well, I only don't want all of their HTML in the output folder. Would be great to have some option to post-filter things based on package names, because I would like to avoid to deal with paths.</p>
  
  <p>Thanks!</p>