Bugs item #931254, was opened at 2004-04-07 21:48
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=931254&group_id=31650

Category: Tasks
Group: 0.8.4.0
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Norman Rasmussen (normanr)
Assigned to: Nobody/Anonymous (nobody)
Summary: move can't overwrite

Initial Comment:
the copy task does overwrite destination files, but the 
move task doesn't.  Instead it throws an error saying 
can't overwrite files because they already exist

----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2004-04-08 21:36

Message:
Logged In: YES 
user_id=707851

In the NAnt 0.85 nightly builds 
(http://nant.sourceforge.net/nightly/builds) you can use an 
overwrite="true" attribute on the <move> task to force 
overwrite if the destination file exists.

eg.

<move overwrite="true" file="source.txt" 
tofile="destination.txt" />

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=931254&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to