Hey Chris,

What version of NAnt are you using?

Thanks,
Ryan

On May 30, 2012, at 12:39 PM, Chris Fouts <chris.fo...@caemilusa.com> wrote:

> 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
------------------------------------------------------------------------------
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

Reply via email to