https://issues.apache.org/bugzilla/show_bug.cgi?id=47755
Stefan Bodewig <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #1 from Stefan Bodewig <[email protected]> 2009-08-28 07:05:42 PDT --- subversion is currently not writable, but I have a passing AntUnit test that I'll be committing later: <target name="testOverwriteIsTrueByDefault"> <mkdir dir="${input}"/> <mkdir dir="${output}"/> <echo file="${input}/x.txt">X</echo> <sleep seconds="2"/> <echo file="${output}/y.txt">Y</echo> <move file="${input}/x.txt" tofile="${output}/y.txt"/> <au:assertFileDoesntExist file="${input}/x.txt"/> <au:assertResourceContains resource="${output}/y.txt" value="X"/> </target> <target name="testOverwriteIsHonored" description="https://issues.apache.org/bugzilla/show_bug.cgi?id=47755"> <mkdir dir="${input}"/> <mkdir dir="${output}"/> <echo file="${input}/x.txt">X</echo> <sleep seconds="2"/> <echo file="${output}/y.txt">Y</echo> <move file="${input}/x.txt" tofile="${output}/y.txt" overwrite="false"/> <au:assertFileExists file="${input}/x.txt"/> <au:assertResourceContains resource="${output}/y.txt" value="Y"/> </target> The tests pass for Ant 1.7.1 and subversion trunk as of seven hours ago. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
