ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mittermeier Ludwig <ludwig.mitterme...@siemens.com>
Subject compiling with dependency on property
Date Mon, 22 Sep 2003 11:24:35 GMT
Hi everybody,

in one of my java source files, the code looks similar to this:

someObject.doSomething();
//someOtherObject.doSomething;

At build-time, ant should compile either the first of these code-lines or
the second one, depending on the value of a variable/property. Can someone
tell me if this is possible with ant and how one can do this?

Thanks a lot for your help!
Ludwig.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message