You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/05/18 19:17:25 UTC
DO NOT REPLY [Bug 34962] New: -
task behaves differently in 1.6.3 than 1.6.2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34962>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34962
Summary: <move> task behaves differently in 1.6.3 than 1.6.2
Product: Ant
Version: 1.6.3
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: Jason.M.Fox@jpl.nasa.gov
The <move> task behaves differently in 1.6.3 than in 1.6.2.
The following setup exhibits the difference.
SETUP
-----
Directory structure and contents:
build.xml
dirA
-> dirB
-> fileA
BUILD.XML
---------
<project name="ant 1.6.3 move/copy test" default="main" basedir="." >
<target name="main" >
<move todir="${basedir}">
<fileset dir="dirA/dirB" />
</move>
</target>
</project>
If the above ant build script is run with ant 1.6.2 the resulting directory
structure and contents are as follows:
1.6.2
-----
build.xml
dirA
fileA
However, the following error is reported when run with ant 1.6.3:
1.6.3
-----
BUILD FAILED
/home/jmfox/ant-test/build.xml:3: Cannot replace directory /home/jmfox/ant-test
with directory /home/jmfox/ant-test/dirA/dirB
Obviously, I realize there are workarounds for the above problem (for instance,
a <copy> and <delete> do the trick), but I am curious as to whether this is an
intended change in behavior.
Thanks,
-Jason
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org