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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.7




------- Additional Comments From [EMAIL PROTECTED]  2006-09-15 15:28 -------
I am not too sure when this was fixed, but in
the current ant 1.7 code the following works:
<project name="foo" >
  <available file=".emacs" filepath="../../../../../.."
             property="found"/>
  <echo>found: ${found}</echo>
</project>

(c:\.emacs exists).

and 
<project name="foo" basedir="C:/">
  <property name="my.dir" location=".."/>
   <echo>${my.dir}</echo>
</project>

echos:
     [echo] C:\..


Note:
using ../../../../../ is a long standing method,
I used it recently in an ftp script, the ftp
server did not support an absolute path, one had
to enter a relative path, - but the home directory
of the login account varied from machine to machine
sometimes '/' and sometimes '/home/account',
used ../../../toplevel/file worked!

<project name="foo" 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to