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:02:55 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.





------- Additional Comments From jbleijen@csc.com  2002-03-13 18:02 -------
Apperantly this is not just a bug, but also a lot of confusion :-)

Let me try to explain once more (hopefully I'm am now making sense)
-I want to invoke an external program during build process (IRL idlj, here 
ls.exe to avoid the path problem)
-I do not want to use just any idlj, from anyone's path but I want to point to 
a specific (checked-in) version controlled version. 
-I use a relative path to this file, since it is not in my path
-This seems to work fine while building the subproject
-This fails to work if build from the toplevel

apperently there is a resolution; to use cmd.exe /c to invoke the 
ls.exe/idlj.exe file. 

Maybe this is not a real bug but just undocumented behaviour? However it would 
seem that if you use a relative path in a buildfile, this is relative to THAT 
buildfile and not to the buildfile that was called by the user.

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