ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karolis Petrauskas <k.petraus...@gmail.com>
Subject Re: Dependency depending on OS
Date Tue, 06 Apr 2010 11:13:57 GMT
I think you should use configurations for this purpose. I.e. create a
configuration for each OS, and assign corresponding  artifacts
(publications) and/or dependencies to these configurations. In the ant
script you can use os property as a configuration to be resolved.

On Tue, Apr 6, 2010 at 10:55 AM,  <raghu.eswaraiah@nokia.com> wrote:
> Hi,
>
> How I can check the dependency depending on the OS name.
>
> I want to check the artifact depending on the OS.
>
> If os=unix then abc.sh
>
> If os=windows then abc.bat.
>
> Thanks and Regards,
> Raghu.A.E
>
>



-- 
Karolis Petrauskas

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


Mime
View raw message