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 32977] - Ant handles ".." in paths incorrectly
Date Fri, 07 Jan 2005 13:25:22 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=32977>.
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=32977





------- Additional Comments From stevel@apache.org  2005-01-07 14:25 -------
Its an interesting problem. Your code is stepping backwards up the tree till it
hits the root. What should the semantics be at that point? Unix says 'stay at
/'; DOS, with its multiple roots is more convoluted. If Java and DOS behave the
same way, I'd go for copying it.


If we changed it, what would break?

Incidentally Ian, why not do something like 
  <property file="build.properties" />
  <property name="root.dir" location="../../"  />
  <property name="wsrf.dir" location="webapps/wsrf" />

This way you get to override everything in your build.properties file. 

th

-- 
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