ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Agrawal <>
Subject REPOST: excluding files from javadoc
Date Tue, 05 Nov 2002 14:03:19 GMT
Still looking for help on this one - anyone? pls?

-----Original Message-----
From: Anuj Agrawal []
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

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/"/>
	<doctitle><![CDATA[<h1>My API Documentation</h1>]]></doctitle>
	<bottom><![CDATA[<i>Copyright &#169; 2002 All Rights

Since i have the 2 excludes under the packageset, i don't expect those files
to be javadoc'ed, but *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

How do i avoid them being javadoc'ed?  I don't want to use fileset cos the
performance is better with packageset.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message