Thanks for the suggestions; however, it did not make a difference.

-----Original Message-----
From: Jeffrey E Care [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 20, 2005 3:52 PM
To: Ant Users List
Subject: Re: Ant - <javadoc> -- <fileset> exclude not working

Try taking the ".\" off the front of your patterns.

-- 
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


<[EMAIL PROTECTED]> wrote on 05/20/2005 03:45:58 PM:

> Hi,
> 
> 
> 
> I am attempting to use the JavaDoc tag in an ant build as follows
> 
> to create my JavaDoc.  I have a small subset of public classes 
> 
> which I want to exclude from the final JavaDoc.  According to the 
> 
> Ant document, I should be able to use the <fileset> tag to accomplish
> 
> this.  However, the following builds the JavaDoc but just ignores the
> 
> exclude statement of the <fileset> tag.
> 
> 
> 
> Any suggestions as to why this may not be working....
> 
> 
> 
> Thanks,
> 
> 
> 
> Brian
> 
> 
> 
> <?xml version="1.0"?>
> 
> <project default="javadoc">
> 
>    <target name="javadoc">
> 
>     <javadoc destdir="D:\ProjectBuild\javadoc" 
> 
>        access="public" 
> 
>        use="true" 
> 
>        notree="false" 
> 
>        nonavbar="false" 
> 
>        noindex="false" 
> 
>        splitindex="true" 
> 
>         author="true" 
> 
>        version="true" 
> 
>        nodeprecatedlist="false" 
> 
>        nodeprecated="false" 
> 
>        sourcepath="." 
> 
>        overview=".\overview.html" 
> 
>        stylesheetfile=".\stylesheet.css"
> 
>        windowtitle="My Program API"> 
> 
>        <packageset dir=".">
> 
>          <include name="com\myprogram\demo"/>
> 
>        </packageset>
> 
>        <packageset dir=".">
> 
>          <include name="com\myprogram\demo\dao"/>
> 
>        </packageset>
> 
>        <packageset dir=".">
> 
>          <include name="com\myprogram\demo\vo"/>
> 
>        </packageset>
> 
>        <packageset dir=".">
> 
>          <include name="com\myprogram\util"/>
> 
>        </packageset>
> 
>        <fileset dir=".">
> 
>              <include name=".\com\myprogram\demo\** .\com\
> myprogram\demo\dao\**  .\com\ myprogram\demo\vo\** .\com\ myprogram
> \util\**"/>
> 
>            <exclude name=".\com\myprogram\demo\dao\TestDAO.java"/>
> 
>        <fileset/>
> 
>         <link href="http://java.sun.com/products/jdk/1.2/docs/api"/>
> 
>        </javadoc>
> 
>     </target>
> 
> </project>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to