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

 

Reply via email to