ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: os detection
Date Fri, 10 Sep 2004 11:20:12 GMT
Try the ${os.value}. E.g. you can do
  <property file="${os.value}.properties"/>
  <property file="default.properties"/>

To load your values.


Jan



> -----Urspr√ľngliche Nachricht-----
> Von: jacques couzteau [mailto:lists@bitfaeule.net]
> Gesendet am: Freitag, 10. September 2004 13:17
> An: ant-u@adobe.com; Ant Users List
> Betreff: os detection
> 
> Hi folks,
> 
> Is there an ant-task that returns the OS-type, I want to find out 
> wether I'm running on osx or win in order to have a unified 
> build-file.
> 
> Thanks in adance
> 
> jacques
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message