----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]] > Sent: 29 September 2001 02:42 > To: '[EMAIL PROTECTED]' > 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:[EMAIL PROTECTED]] > Sent: Friday, September 28, 2001 12:31 PM > To: [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > 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. > > ============================================================================ == > >