ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: Ant - <javadoc> -- <fileset> exclude not working
Date Sat, 21 May 2005 14:37:30 GMT
Hello Brian,

> 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.  
> 
> Any suggestions as to why this may not be working....
> 
>  
> 
> Thanks,
> 
>  
> 
> Brian
> 
>  
> 
>        <fileset dir=".">
> 
>              <include name=".\com\myprogram\demo\** .\com\
> myprogram\demo\dao\**  .\com\ myprogram\demo\vo\** .\com\ myprogram
> \util\**"/>

You need here 4 include tags instead of one, also the specs should not begin
here with .\ and usually you use the / in these patterns in ant on all
operating systems.

For instance <include name="com/myprogram/demo/**"/>


> 
>            <exclude name=".\com\myprogram\demo\dao\TestDAO.java"/>
> 
Same here
>            <exclude name="com/myprogram/demo/dao/TestDAO.java"/>

Cheers,

Antoine

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message