ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Bug 3129
Date Mon, 09 Sep 2002 19:05:54 GMT
You can get the absolute pathname of your executable on Win32 using:

<available property="ssh.exe" file="ssh.exe" filepath="${env.Path}" />

and use ${ssh.exe} thereafter. --DD

-----Original Message-----
From: Marius Scurtescu [mailto:mscurtescu@healthmetrx.com] 
Sent: Monday, September 09, 2002 1:48 PM
To: 'Ant Developers List'
Subject: RE: Bug 3129

Yes, you must be right I guess. But then another flag would be needed or
it should behave differently under Windows.

Anyhow, the exec task is broken under Windows.

Thanks,
Marius

-----Original Message-----
From: Steve Loughran [mailto:steve_l@iseran.com] 
[...]
> Why isn't the task making the 'executable' path absolute first and 
> then check/run it?

because many people run things on the path; if I exec 'ssh.exe' I just
need a copy of SSH on the path, not one at .\ssh.exe


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

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