ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: REPOST: excluding files from javadoc
Date Tue, 05 Nov 2002 15:10:16 GMT

Well, the first exclude needs to be written such as this:

<exclude name="My/Special/Package/**"/>

Not sure why the second one fails to exclude


At 09:03 AM 11/5/2002 -0500, you wrote:
>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}" 
>                 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/"/>
>         </packageset>
>         <doctitle><![CDATA[<h1>My API Documentation</h1>]]></doctitle>
>         <header>My</header>
>         <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: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message