ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klute <soundr...@yahoo.com>
Subject logic using ant
Date Mon, 07 Mar 2005 22:32:05 GMT
hey guys

i have a dev and test environments with the former
being on win xp and the latter on linux. i am trying
to put some logic within my build target to do things
differently. i'd like to do this to avoid separate
targets for dev and text environments. here is some
basic pseudo code of what i am trying to achieve:

if some env variable indicates that the script is
running in windows env {
   do this
} else {
   do that
}

is this possible? 

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


Mime
View raw message