ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37268] - mkdir task parses path incorrectly when it includes "../" - Fix included.
Date Sat, 28 Jan 2006 14:45:10 GMT
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


Mime
View raw message