Re: [NAnt-users] Help copying a folder structure

2012-05-31 Thread Chris Fouts
Thanks!

From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Thursday, May 31, 2012 9:44 AM
To: Chris Fouts; nant-users@lists.sourceforge.net
Subject: RE: Help copying a folder structure

If you want to go FROM src TO dest, it looks like you have your code 
backwards... shouldn't it be:

copy todir=${destDir}
   fileset basedir=${srcDir}
  include name=** /
 /fileset
/copy

Also, you can (should be able to) simplify your include to ** which should 
match all files and folders.

BOb


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Wednesday, May 30, 2012 3:39 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Help copying a folder structure

This way...

copy todir=${srcDir}
   fileset basedir=${destDir}
  include name=**\* /
 /fileset
/copy


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Wednesday, May 30, 2012 3:13 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Help copying a folder structure

I looked at this 
http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled 
some.

I want to copy files from ${srcDir} to ${destDir} and preserve the directory 
struncture. I tried this, but the directory structure is NOT preserved in 
${destDir}. Any clues?

copy todir=${srcDir}
   fileset
  include name=${destDir}\**\* /
 /fileset
/copy

-chris

***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] Help copying a folder structure

2012-05-31 Thread Bob Archer
If you want to go FROM src TO dest, it looks like you have your code 
backwards... shouldn't it be:

copy todir=${destDir}
   fileset basedir=${srcDir}
  include name=** /
 /fileset
/copy

Also, you can (should be able to) simplify your include to ** which should 
match all files and folders.

BOb


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Wednesday, May 30, 2012 3:39 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Help copying a folder structure

This way...

copy todir=${srcDir}
   fileset basedir=${destDir}
  include name=**\* /
 /fileset
/copy


From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Wednesday, May 30, 2012 3:13 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Help copying a folder structure

I looked at this 
http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled 
some.

I want to copy files from ${srcDir} to ${destDir} and preserve the directory 
struncture. I tried this, but the directory structure is NOT preserved in 
${destDir}. Any clues?

copy todir=${srcDir}
   fileset
  include name=${destDir}\**\* /
 /fileset
/copy

-chris

***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users