You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Massa, Ray" <RM...@ea.com> on 2001/09/28 21:18:18 UTC

Task?

What 'os' value would you use for:

Windows NT?
Windows ME?

thanks

Re: Task?

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Use this to determine the values:

    <echo message="os.name = ${os.name}"/>

If you are using Ant 1.4, have a look at the <condition> task regarding its
O/S "family" capability to group Windows, Mac, Unix, and DOS operating
systems rather than having to specify them explicitly by the os.name value.

    Erik


----- Original Message -----
From: "Massa, Ray" <RM...@ea.com>
To: <an...@jakarta.apache.org>
Sent: Friday, September 28, 2001 12:18 PM
Subject: <exec> Task?


> What 'os' value would you use for:
>
> Windows NT?
> Windows ME?
>
> thanks
>


Re: Task?

Posted by Diane Holt <ho...@yahoo.com>.
--- "Massa, Ray" <RM...@ea.com> wrote:
> What 'os' value would you use for:
> 
> Windows NT?
> Windows ME?

Use whatever ${os.name} is.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com