ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: logic using ant
Date Mon, 07 Mar 2005 22:42:05 GMT
--- klute <soundres9@yahoo.com> wrote:
> if some env variable indicates that the script is
> running in windows env {
>    do this
> } else {
>    do that
> }
> 
> is this possible? 

There are ways and ways (the most brute-force and
least "Ant" being ant-contrib's if task), but it will
probably help you and us more for you to explain which
parts of your Ant process you want to work differently
based on environment so we can offer useful examples.

-Matt

> 
> thanks a lot!
> james
> 
> 
> 	
> 		
> __________________________________ 
> Celebrate Yahoo!'s 10th Birthday! 
> Yahoo! Netrospective: 100 Moments of the Web 
> http://birthday.yahoo.com/netrospective/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

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


Mime
View raw message