ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Abdelnur <>
Subject [PATCH] ant1.4B2, target if attribute supports property value
Date Sun, 02 Sep 2001 02:08:06 GMT

i've modified the testIfCondition and testUnlessCondition methods from the 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

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 file.



View raw message