Neat - but where are the <condition> and <or> tags obtained ?
Bill
----- Original Message -----
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
> untested:
>
> <property environment="env" />
> <condition property="foo-command-present">
> <or>
> <available file="foo" filepath="${env.PATH}" />
> <!-- special case for Windows, may be PATH or Path -->
> <available file="foo.exe" filepath="${env.Path}" />
> <available file="foo.exe" filepath="${env.PATH}" />
> </or>
> </condition>
>
> Stefan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>