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 17:36:24 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 holtdl@yahoo.com  2002-03-13 17:36 -------
It either needs to live in a directory that's in your path, or you need to 
specify the executable as a full-path. In your example case, you can execute 
your ls/ls.exe by specifying it as "${basedir}/ls" (since "basedir" is set to 
the current [ie., "subdir"] directory, which is where your ls/ls.exe are). Note 
that if you have both a Win* and a *nix executable in the same directory, you 
don't need the switch on the 'os' attr, since you don't need the .exe suffix to 
run the Win* executable.

If your 'idlj' is just randomly any old where, how do you expect to execute it 
(regardless of whether you're running it from Ant)? You're going to have to 
point your OS to it somehow -- either by it being in a dir that's already in 
the path, or by specifying it with a fully qualified path.

(Sorry if I've been confusing you about this.)

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