ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shyam Koppikar" <vkopp...@tds.net>
Subject Re: <exec> Task?
Date Tue, 02 Oct 2001 03:21:02 GMT

----- Original Message -----
From: <SimonRichardson2@halifax.co.uk>
To: <ant-user@jakarta.apache.org>
Sent: Monday, October 01, 2001 4:36 AM
Subject: RE: <exec> Task?


> Ray
>
> running ant with -verbose ..
>
> Detected OS: Windows NT
>
>
> Alternatively check out http://www.tolstoy.com/samizdat/sysprops.html
>
> [thanks to Robert J. Clark
> http://marc.theaimsgroup.com/?l=ant-user&m=99835620704392&w=2]
>
> Simon
>
> -----Original Message-----
> From: Massa, Ray [mailto:RMassa@ea.com]
> Sent: 29 September 2001 02:42
> To: 'ant-user@jakarta.apache.org'
> Subject: RE: <exec> Task?
>
>
> Thanks Erik and Diane.
>
> What I was looking for is the resulting string of ${os.name} for Win NT
and
> Win ME.
>
> example:
>
> <target name="getlatest">
> <exec executable="COMMAND.COM" os="Windows 98">
> <arg line="/e:4096"/>
> <arg line="/l:1024"/>
> <arg line="/u:255"/>
> <arg line="/c"/>
> <arg line="${ssafe.file}"/>
> </exec>
> <exec executable="CMD.EXE" os="Windows 2000">
> <arg line="/e:4096"/>
> <arg line="/l:1024"/>
> <arg line="/u:255"/>
> <arg line="/c"/>
> <arg line="${ssafe.file}"/>
> </exec>
> </target>
>
> -----Original Message-----
> From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com]
> Sent: Friday, September 28, 2001 12:31 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: <exec> Task?
>
>
> 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" <RMassa@ea.com>
> To: <ant-user@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
> >
>
> --------------------------------------------------------------------------
----
> Halifax plc, Registered in England No. 2367076.  Registered Office:
Trinity Road, Halifax, West Yorkshire HX1 2RG. Represents only the Halifax
Financial Services Marketing Group for the purposes of advising on and
selling life assurance, pensions and unit trust business.  The Marketing
Group is regulated by the Personal Investment Authority.  Switchboard 01422
333333.
>
>
============================================================================
==
>
>


Mime
View raw message