Re: How to construct condition statement?

2006-12-17 Thread Chun Tat David Chu
r may not work for your situation, but consider it. > > > > Should be if="env.SOMEVARIABLE" I.e the name of the property and not its value. Peter > ... > > Perhaps the non-existence of the variable would provide the "false" > condition... > > > ..

How to construct condition statement?

2006-12-15 Thread Chun Tat David Chu
Hi, I'm trying to construct a condition statement in ANT, and I'm stuck. Any help or suggestion would be great! What I am trying to do is to check an environmental variable, and if it is set to "TRUE", then I want to set a field to another text. ex. (sorry, I'm new at ANT, I'll use pseudo code