i've modified the testIfCondition and testUnlessCondition methods from the org.apache.tools.ant.Target class of Ant1.4B2 to support the evaluation of the property value if specified.
for example: <target name="tomcatDeploy" if="server.type=tomcat"> this target will only be executed if "server.type" is defined and its value is "tomcat" the old behavior still works: <target name="tomcatDeploy" if="server.type"> it will get executed if "server.type" is defined. attached you'll find the modified Target.java file. regards. a
Target.java
Description: application/unknown-content-type-java_auto_file