Using nAnt to simple copy folders/files ??

  • Thread starter Thread starter FredZimmerman
  • Start date Start date
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.
 
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
 
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>
 
Back
Top