ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Tat David Chu" <>
Subject How to construct condition statement?
Date Fri, 15 Dec 2006 15:56:20 GMT

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 to demonstrate)

STRING location = "xxx";

   location = "yyy";

I really hope to achieve this using ANT straight from the box without
downloading additional libraries/plug-in


- dc

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message