ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: Using the same targets across multiple platforms
Date Thu, 31 Jul 2003 08:16:30 GMT
On Thursday 31 July 2003 02:26, Harkness, David wrote:
> Ant-contrib and Antelope both have <if> tasks that do what you want.
> There have been several message regarding these external projects today
> and yesterday.
>
> However, another option would be to create a properties file for each OS
> that sets the name of your shell/batch scripts. Then use the built-in
> ${os.name} property:
>
>   <property file="build-${os.name}.properties"/>
>
> This would simplify your build script I think.
This would be the preferred solution.
Peter


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


Mime
View raw message