ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klute <>
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!

Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message