Hi,
I am using ant 1.6.2 and my ant build need to do
seperate things based on the jvm the developer is
using to build the project. I thought of doing:
<target name="mytarget">
<if>
<equals jdkversion="1.5"
versiononbox="${ant.java.version}" />
<then>
<echo message="ant.java.version:${ant.java.version}"
/>
</then>
<else>
<echo message="ant.java.version: is not the one we
want - do something else" />
</else>
</if>
</target>
but somehow it says my ant version does not support
this... is there anyway to convert it to <conditional>
& <contains>, I could not find the exact syntax
anywhere..
thanks,
Jignesh
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]