ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Andrade <aandr...@contractor.epolicysolutions.com>
Subject Exclude a directory
Date Wed, 18 Jan 2006 18:36:24 GMT
Hi

I am using the copy task.

I wasn't sure about the syntax to exclude a directory.

Eg:

Src

 |_____com

 |_____resource

 

I want to exclude resource directory

 

I wrote the task as 

 

<copy  todir=".\dist\war" >

               <fileset dir=".\src ">

               <exclude name="META-INF/*"/>

               </fileset>

      </copy>

 

This doesnot seem to work.

 

Thanks

Alan

 


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