Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Exclude a patternset from a fileset

Exclude a patternset from a fileset

2003-03-17       - By Thomas SMETS
Reply:     1     2  


See :
http://ant.apache.org/manual/CoreTypes/fileset.html

   <fileset dir="${server.src}" casesensitive="yes">
     <include name="**/*.java"/>
     <exclude name="**/*Test*"/>
   </fileset>

or ...

Thomas,

Craig Dickson <craig.dickson@(protected)> wrote:

>If I have a patternset defined, what is the easiest way to later define a
>fileset, that excludes everything that is included in the patternset?
>


--

Thomas SMETS
rue J. Wytsmanstraat 62
1050 Brussels


__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.