Hi there
is it possible to use if-statements in ant's build.xml-Files?
Like:
<target name="Test">
<if property="${property_value}"
condition="EQUAL"
value="${property_value}">
<delete ... >
</delete>
</if>
</target>
Espacially, i wan't to copy a file only when it not
exists. I want to copy a config_template.xml-File to
a directory every time i make a deploy, but i want to
copy the config_template.xml to config.xml only if
there is NOT a previous config.xml. How to do that ?
Thanks in advance
M. Gerlach
--
_______________________________________________________________
Martin Gerlach Distributed Systems
phone: +49 (0)221 250-1046 mailto:[EMAIL PROTECTED]
fax: +49 (0)221 250-1588 http://www.planb-media.de
plan_b media ag Coloneum
Butzweilerstr. 255 D-50829 Cologne, Germany
_______________________________________________________________