[EMAIL PROTECTED]
>Gesendet: Montag, 23. Januar 2006 22:20
>An: user@ant.apache.org
>Betreff: Re: ant and os
>
>On Mon, 23 Jan 2006, Marc Collin <[EMAIL PROTECTED]> wrote:
>
>> i search a way to do:
>>
>> exec rmiregistry.exe if windows
>> else exec
On Mon, 23 Jan 2006, Marc Collin <[EMAIL PROTECTED]> 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.
Stefan
-
Then have the script act according to whether or not running.on.windows is
set.
You can also use the os attribute of exec, but there are multiple OS values
for multiple versions of Windows.
-Andrew
On 1/23/06, Marc Collin <[EMAIL PROTECTED]> wrote:
>
> hi
>
> i search a way to do:
>
> ex
hi
i search a way to do:
exec rmiregistry.exe if windows
else exec rmiregistry
any idea?
thanks
--
www.laboiteaprog.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]