You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Anuj Agrawal <ag...@yahoo.com> on 2002/11/03 15:25:39 UTC
excluding files from javadoc
Hi -
I'm using Ant 1.5.1 and appear to be having some problem with the javadoc
task.
Here's my javadoc usage:
<javadoc destdir="${build.apidocs.dir}" classpath="${compile.classpath}"
author="true" version="true" access="public" use="true"
splitindex="true" nodeprecatedlist="true" windowtitle="My API">
<packageset dir="${src.dir}" defaultexcludes="yes">
<exclude name="My/Special/Package/*"/>
<exclude name="My/AnotherPackage/SomeFile.java"/>
</packageset>
<doctitle><![CDATA[<h1>My API Documentation</h1>]]></doctitle>
<header>My</header>
<bottom><![CDATA[<i>Copyright © 2002 All Rights
Reserved.</i>]]></bottom>
</javadoc>
Since i have the 2 excludes under the packageset, i don't expect those files
to be javadoc'ed, but SomeFile.java *does* get it's javadoc generated AND
only ONE file from the My/Special/Package gets it's javadoc generated. :(
Is this because they're being referenced from another class that is to be
javadoc'ed?
How do i avoid them being javadoc'ed? I don't want to use fileset cos the
performance is better with packageset.
Thanks.
Anuj.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>