On 2010-02-01, Kamran Hameed <[email protected]> wrote:
> Now there are two files Sum.java and Band.java in the mpi package that i
> dont want javadoc tool to generate javadocs. So i try to exclude them using
> <fileset dir="${mpi.dir}">
> <exclude name="**/Band.java**"/>
> <exclude name="**/Sum.java**"/>
> </fileset>
The trailing ** are not necessary if the files are really named
Band.java and Sum.java.
> But i get these output instead of javadocs
> javadoc: error - Illegal package name:
> "/export/home/kamran/parallel/mpj/src/mpi/SimplePackerByte.class"
Well, obviously you have class files inside your source tree as well, so
you must restrict your fileset to only include you sources (and
potentially package.html files). Something like
<fileset dir="${mpi.dir}">
<include name="**/*.java"/>
<include name="**/package.html"/>
<exclude name="**/Band.java"/>
<exclude name="**/Sum.java"/>
</fileset>
should work.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]