opensubscriber
   Find in this group all groups
 
Unknown more information…

n : nant-users@lists.sourceforge.net 31 May 2012 • 3:51AM -0400

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

REPLY TO AUTHOR
 
REPLY TO GROUP




Hey Chris,

What version of NAnt are you using?

Thanks,
Ryan

On May 30, 2012, at 12:39 PM, Chris Fouts <Chris.Fouts@caem...> wrote:

> This way…
>  
> <copy todir="${srcDir}">
>    <fileset basedir=”${destDir}>
>       <include name="**\*" />
>      </fileset>
> </copy>
>  
>  
> From: Chris Fouts [mailto:Chris.Fouts@caem...]
> Sent: Wednesday, May 30, 2012 3:13 PM
> To: nant-users@list...
> 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@list...
> https://lists.sourceforge.net/lists/listinfo/nant-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.