Re: [NAnt-users] 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: 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... 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? -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
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: 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... 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? -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
Hey Chris, What version of NAnt are you using? Thanks, Ryan On May 30, 2012, at 12:39 PM, Chris Fouts wrote: > This way… > > > > > > > > > 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? > > > > > > > > -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 -- 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
This way... 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? -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