Hello,

i backup some files on a server; therefore i walk from top recursivly 
through the directories.
One directory is "screen" with about 20.000 directories and many 
pictures. The pictures shouldn't be backed up.
How can i exclude the whole directory "screen"? I tried like this:

       <!-- backup the assemblies  -->
       <copy overwrite="true" failonerror="false" 
todir="${backUpTargetPath.value}\PDB\" flatten="false" verbose="true" 
includeemptydirs="true">
          <fileset basedir="${deploymentTargetRootPath.value}\PDB\">
             <include name="**/*.dll"/>
             <exclude 
name="${deploymentTargetRootPath.value}\PDB\screen\**"/>
          </fileset>
       </copy>

The files in "screen" and its subfolders are not copied but nant still 
walks through them. And this takes too much time. How can i tell nant 
not to walk through "screen"? Is this possible or must i choose 
other/deeper root folders for the copy?
Thanks in advance.
-- 
Mit freundlichen Grüßen


Roland Müller
Fachinformatiker | Neue Medien

===================================================================
Flad & Flad Communication GmbH
Thomas-Flad-Weg 1
D-90562 Heroldsberg
T +49 9126 275 346
F +49 9126 275 275

[EMAIL PROTECTED]
www.flad.de
===================================================================

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to