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 7046] - Exec doesn't find correct path if using nested ant files.
Date Wed, 13 Mar 2002 18:28:56 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7046>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7046

Exec doesn't find correct path if using nested ant files.

holtdl@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From holtdl@yahoo.com  2002-03-13 18:28 -------
A relative path is not a fully qualified path -- change your "../bin/ls.exe"
to "${basedir}/../bin/ls.exe" (note that once you include the ".." relative in 
the pathname, you will need to include the .exe suffix -- I assume that's some 
funky Win* thing). Adding ${basedir} doesn't negatively impact portability or 
maintenance, since it amounts to the exact same thing as trying to use a 
relative path, except that it *works*.

Relative paths will work on *nix, but not Win* (but, again, I assume that's 
some funky Win* thing, and nothing to do with Ant) -- so -simplify- your life, 
and just anchor the relative with ${basedir}.

I am closing this bug as Invalid.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message