On 2010-02-01, Kamran Hameed <camran.ham...@gmail.com> 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: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org