Finally got around to trying the suggested changes. However, the exclusions still does not occur.
Thank you for your suggestions. Brian -----Original Message----- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Saturday, May 21, 2005 10:38 AM To: Ant Users List Subject: Re: Ant - <javadoc> -- <fileset> exclude not working 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]