Still looking for help on this one - anyone? pls?

-----Original Message-----
From: Anuj Agrawal [mailto:agrawalanuj@;yahoo.com]
Sent: Sunday, November 03, 2002 9:26 AM
To: Ant User Mailing List
Subject: 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 &#169; 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:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to