Our development environment has 6 source tree's that need to be built. I need the
ability to javadoc any combination of the various sources together. I can obviously
figure out a brute force method, but I cannot find an elegant fashion to perform this.
Is there a better solution that will reduce the complexity or repetition? Is there any
way to dynamically create a list of paths? Can packageset take a refid that I do not
know about?
Basically what have below is part of the brute force method. I would need to create a
distinct javadoc target for each permutation of the 6 source trees. Below is the
format I am using.
<patternset id="non.test.sources" >
<include name="**"/>
<exclude name="**/*test*/**"/>
</patternset>
<javadoc destdir="${jdoc.internal.dir}" >
<packageset dir="${src_a.dir}">
<patternset refid="non.test.sources"/>
</packageset>
<packageset dir="${src_b.dir}">
<patternset refid="non.test.sources"/>
</packageset>
<packageset dir="${src_c.dir}">
<patternset refid="non.test.sources"/>
</packageset>
...
</javadoc>
Any help would be appreciated.
- Dustin
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>