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
>
|