ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ant and os
Date Mon, 23 Jan 2006 21:19:54 GMT
On Mon, 23 Jan 2006, Marc Collin <> wrote:

> i search a way to do:
> exec rmiregistry.exe if windows
> else exec rmiregistry

you'd probably want rmiregistry on OS/2 or OpenVMS as well if you are
ever going to run Ant there.

<property environment="env"/>
<condition property="rmiregistry" value="rmiregistry.exe">
    <available file="rmiregistry.exe" filepath="${env.PATH}"/>
    <available file="rmiregistry.exe" filepath="${env.Path}"/>
<property name="rmiregistry" value="rmiregistry"/>

<exec executable="${rmiregistry}" .../>


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

View raw message