ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vineet Chaoji <cha...@roguewave.com>
Subject Control statements in Ant
Date Mon, 01 Jul 2002 20:46:26 GMT
Hi,

I want to do the following in ant:

   
   if(operating system is windows) {
      os = "win";
   } else {
      os = "other";
   }

   Can I do this in ant?
   Can properties once defined(initialized) in Ant be assigned another value
based on some conditional evaluation?


Thanks,
Vineet


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


Mime
View raw message