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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
[...]
> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to