Hello ANT Users, I have a lot of files from which javadoc needs to be generated.
Not all java files from a package need to be published in javadoc. To enable this i use a number of <fileset>s that provide input to javadoc task. Something like : <javadoc> <fileset dir="module1/src"> <include name="A1.java"/> <include name="B1.java"/> <include name="C1.java"/> </fileset> <fileset dir="module2/src"> <include name="A2.java"/> <include name="B2.java"/> <include name="C2.java"/> </fileset> .... //More filesets </javadoc> However to my surprise package-info.java which i placed in packages is not included as input to javadoc task. I had to modify the fileset include to put in package-info.java <fileset dir="module1/src"> <include name="**/package-info.java"/> And i had to do this for every file set, violating "DRY". Shouldn't javadoc task pick this artifact (package-info.java) given that this file is meant only for the javadoc tool ? Why should the user have to explicitly include it ? Do ANT-experts think including the package-info.java where ever its found too much magic ? Thank you -Prashant --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]