Using nAnt to simple copy folders/files ??

F

FredZimmerman

Has anyone used nAnt script to simply copy folders and files from one
location to another?

I have a colleague who is suggesting this use of nAnt for our
environment.

I've heard of nAnt for .NET project build purposes, and know that it
can be scripted to copy folders and files, but have not heard of it
being used for non-buiild tasks, like simple file copies or moves.

Just sanity checking this for my own knowledge.
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Has anyone used nAnt script to simply copy folders and files from one
location to another?

I have a colleague who is suggesting this use of nAnt for our
environment.

I've heard of nAnt for .NET project build purposes, and know that it
can be scripted to copy folders and files, but have not heard of it
being used for non-buiild tasks, like simple file copies or moves.

Just sanity checking this for my own knowledge.

Makes sense to me.

NAnt is a very flexible tool.

If you already are using NAnt then it makes sense to use that
instead of bringing in yet another tool.

Arne
 
M

Michael Nemtsev

Hello (e-mail address removed),

just use <exec program> tag to call external file which performs the copy

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

F> Has anyone used nAnt script to simply copy folders and files from one
F> location to another?
F>
F> I have a colleague who is suggesting this use of nAnt for our
F> environment.
F>
F> I've heard of nAnt for .NET project build purposes, and know that it
F> can be scripted to copy folders and files, but have not heard of it
F> being used for non-buiild tasks, like simple file copies or moves.
F>
F> Just sanity checking this for my own knowledge.
F>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top