And now they have it - just committed. The flatten attribute combined with todir will copy/move the files to todir ignoring the structure of the source tree.
Let me know if there are any problems with it,


Ian

The copy and move tasks need a flatten attribute - the same a Ant has. This would grab all files anywhere on the seleted tree and put them all in the same target directory.

Ian
Eric Fetzer wrote:

Is there a way to copy files to a specific directory
using fileset rather than copying relatively under
that directory.

In other words:

 <copy todir="C:\MyApp">
     <fileset basedir="C:\MyOtherApp">
         <includes name="**\*.dll"/>
     </fileset>
 </copy>

If he finds C:\MyOtherApp\project\lib\bin\myDll.dll,
he'll put it directly in C:\MyApp rather than in
C:\MyApp\project\lib\bin\myDll.dll.

Thanks,
Eric

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users







------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users






-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to