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 2006/01/28 15:45:10 UTC
DO NOT REPLY [Bug 37268] - mkdir task parses path incorrectly when it includes "../" - Fix included.
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=37268>.
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=37268
bodewig@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From bodewig@apache.org 2006-01-28 15:45 -------
dir will already be normalized, this happens when Ant translates the string from
dir="..." to the File instance passed to setDir.
I can't see any problem with
stefan@www:~/ASF/ant/ant-HEAD> cat test.xml
<project basedir="..">
<mkdir dir="ant-HEAD/../../foo"/>
</project>
stefan@www:~/ASF/ant/ant-HEAD> ant -f test.xml
Buildfile: test.xml
[mkdir] Created dir: /home/stefan/ASF/foo
BUILD SUCCESSFUL
Total time: 1 second
--
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