opensubscriber
   Find in this group all groups
 
Unknown more information…

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

[NAnt-users] Help copying a folder structure
by Chris Fouts

REPLY TO AUTHOR
 
REPLY TO GROUP



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

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

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