ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
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 [] 
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.


-----Original Message-----
From: Steve Loughran [] 
> 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:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message