ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baz ¤Ñª° <sky_f...@yahoo.com>
Subject Re: os.name for windows return "Windows XP"?
Date Wed, 21 Jan 2004 05:19:42 GMT
DP,

Thanks. Do you have some coding samples?

B.

--- In apache-ant@yahoogroups.com, David Plass <DPlass@T...> wrote:
> You could write your own task to grab the first 'token' in the 
property;
> I've done similar.
> 
> Thanks
> --DP
> 
> 
> -----Original Message-----
> From: Thorbjørn Ravn Andersen [mailto:nospam0000@c...] 
> Sent: Tuesday, January 20, 2004 9:21 AM
> To: Ant Users List
> Subject: Re: os.name for windows return "Windows XP"?
> 
> 
> barry@g... wrote:
> 
> >Hi,
> >
> >There must be someone who is dealing with the same issue. I am 
trying 
> >to take
> >multiplatform builds with different ${os.name}.properties file. 
Linux is
> not a 
> >problem, Linux.properties. What about Windows? It becomes Windows 
> >XP.properties files. 
> >  
> >
> All modern platforms that I know of, which supports Java, can 
accept 
> filenames with an embedded space, so you may be able to work with 
the 
> generated filename directly.
> 
> Is there any particular technical reason that you must have single 
word 
> filenames?
> 
> -- 
>   Thorbjoern Ravn Andersen      "...plus...Tubular Bells!"
> 
> 
> 
> -------------------------------------------------------------------
--
> To unsubscribe, e-mail: user-unsubscribe@a...
> For additional commands, e-mail: user-help@a...
> 
> 
> 
> -------------------------------------------------------------------
--
> To unsubscribe, e-mail: user-unsubscribe@a...
> For additional commands, e-mail: user-help@a...


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message