ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laran Evans <lc...@cornell.edu>
Subject Conditional processing
Date Tue, 14 Dec 2004 19:17:13 GMT
How would I do something like:

<target name="x">
   <if test="true == ${auto-deploy}">
     <javac dest="${dir.deploy.auto}" ... />
   </if>
   <else>
     <javac dest="${dir.build}" ... />
   </else>
</target>

?

-- 
Laran Evans - Cornell University
p: (607) 255-6864 f: (607) 255-0327


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


Mime
View raw message