Re: Help copying a folder structure

Ryan Boggs <[email protected]> Wed, 30 May 2012 12:51:44 -0700
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
--===============6358801917274528259==
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative;
	boundary=Apple-Mail-FE81141B-412C-43F2-AB40-7416406E4E51


--Apple-Mail-FE81141B-412C-43F2-AB40-7416406E4E51
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hey Chris,

What version of NAnt are you using?

Thanks,
Ryan

On May 30, 2012, at 12:39 PM, Chris Fouts <[email protected]> wrote:=


> This way=E2=80=A6
> =20
> <copy todir=3D"${srcDir}">
>    <fileset basedir=3D=E2=80=9D${destDir}>
>       <include name=3D"**\*" />
>      </fileset>
> </copy>
> =20
> =20
> From: Chris Fouts [mailto:[email protected]]=20
> Sent: Wednesday, May 30, 2012 3:13 PM
> To: [email protected]
> Subject: [NAnt-users] Help copying a folder structure
> =20
> I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/cop=
y.html, and googled some.
> =20
> I want to copy files from ${srcDir} to ${destDir} and preserve the directo=
ry struncture. I tried this, but the directory structure is NOT preserved in=
 ${destDir}. Any clues?
> =20
> <copy todir=3D"${srcDir}">
>    <fileset>
>       <include name=3D"${destDir}\**\*" />
>      </fileset>
> </copy>
> =20
> -chris
>=20
> ***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=20=

> 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.***
>=20
> --------------------------------------------------------------------------=
----
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and=20
> threat landscape has changed and how IT managers can respond. Discussions=20=

> will include endpoint security, mobile security and the latest in malware=20=

> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> NAnt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nant-users

--Apple-Mail-FE81141B-412C-43F2-AB40-7416406E4E51
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head></head><body bgcolor=3D"#FFFFFF"><div>Hey Chris,<br><br>What ver=
sion of NAnt are you using?</div><div><br></div><div>Thanks,</div><div>Ryan<=
/div><div><br>On May 30, 2012, at 12:39 PM, Chris Fouts &lt;<a href=3D"mailt=
o:[email protected]">[email protected]</a>&gt; wrote:<br><br=
></div><div></div><blockquote type=3D"cite"><div><meta http-equiv=3D"Content=
-Type" content=3D"text/html; charset=3Dus-ascii"><meta name=3D"Generator" co=
ntent=3D"Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin-top:6.0pt;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:0in;
	font-size:10.0pt;
	font-family:"Courier New";}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--><div class=3D"WordSection1"><p class=3D"Ms=
oNormal"><span style=3D"color:#1F497D">This way=E2=80=A6<o:p></o:p></span></=
p><p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></sp=
an></p><p class=3D"MsoNormal">&lt;copy todir=3D"${srcDir}"&gt;<o:p></o:p></p=
><p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&lt;fileset basedir=3D=E2=80=9D${d=
estDir}&gt;<o:p></o:p></p><p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; &lt;include name=3D"**\*" /&gt;<o:p></o:p></p><p class=3D"MsoNormal">&nb=
sp;&nbsp;&nbsp;&nbsp; &lt;/fileset&gt;<o:p></o:p></p><p class=3D"MsoNormal">=
&lt;/copy&gt;<o:p></o:p></p><p class=3D"MsoNormal"><span style=3D"color:#1F4=
97D"><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"color=
:#1F497D"><o:p>&nbsp;</o:p></span></p><div><div style=3D"border:none;border-=
top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class=3D"MsoNormal"><b=
><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-s=
erif&quot;">From:</span></b><span style=3D"font-size:10.0pt;font-family:&quo=
t;Tahoma&quot;,&quot;sans-serif&quot;"> Chris Fouts [mailto:Chris.Fouts@caem=
ilusa.com] <br><b>Sent:</b> Wednesday, May 30, 2012 3:13 PM<br><b>To:</b> <a=
 href=3D"mailto:[email protected]">[email protected]=
ge.net</a><br><b>Subject:</b> [NAnt-users] Help copying a folder structure<o=
:p></o:p></span></p></div></div><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>=
<p class=3D"MsoNormal">I looked at this <a href=3D"http://nant.sourceforge.n=
et/nightly/latest/help/tasks/copy.html">http://nant.sourceforge.net/nightly/=
latest/help/tasks/copy.html</a>, and googled some.<o:p></o:p></p><p class=3D=
"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"MsoNormal">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=
?<o:p></o:p></p><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"MsoN=
ormal">&lt;copy todir=3D"${srcDir}"&gt;<o:p></o:p></p><p class=3D"MsoNormal"=
>&nbsp;&nbsp;&nbsp;&lt;fileset&gt;<o:p></o:p></p><p class=3D"MsoNormal">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; &lt;include name=3D"${destDir}\**\*" /&gt;<o:p></=
o:p></p><p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; &lt;/fileset&gt;<o:p=
></o:p></p><p class=3D"MsoNormal">&lt;/copy&gt;<o:p></o:p></p><p class=3D"Ms=
oNormal"><o:p>&nbsp;</o:p></p><p class=3D"MsoNormal">-chris<o:p></o:p></p><p=
><br>***This e-mail message is intended only for the above named recipient(s=
)<br>and may contain information that is sensitive or proprietary. If you ha=
ve<br>received this message in error or are not the named recipient(s), plea=
se <br>immediately notify the sender, delete this e-mail message without mak=
ing<br>a copy and do not disclose or relay this e-mail message to anyone.***=
<o:p></o:p></p></div></div></blockquote><blockquote type=3D"cite"><div><span=
>---------------------------------------------------------------------------=
---</span><br><span>Live Security Virtual Conference</span><br><span>Exclusi=
ve live event will cover all the ways today's security and </span><br><span>=
threat landscape has changed and how IT managers can respond. Discussions </=
span><br><span>will include endpoint security, mobile security and the lates=
t in malware </span><br><span>threats. <a href=3D"http://www.accelacomm.com/=
jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012=
/114/50122263/</a></span></div></blockquote><blockquote type=3D"cite"><div><=
span>_______________________________________________</span><br><span>NAnt-us=
ers mailing list</span><br><span><a href=3D"mailto:[email protected]=
rge.net">[email protected]</a></span><br><span><a href=3D"htt=
ps://lists.sourceforge.net/lists/listinfo/nant-users">https://lists.sourcefo=
rge.net/lists/listinfo/nant-users</a></span><br></div></blockquote></body></=
html>=

--Apple-Mail-FE81141B-412C-43F2-AB40-7416406E4E51--


--===============6358801917274528259==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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/
--===============6358801917274528259==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

--===============6358801917274528259==--