I've tried ant tasks from antcontrib:
<goal name="test">
<taskdef resource="net/sf/antcontrib/antcontrib.properties"
classpathref="maven.dependency.classpath"/>
<if>
<equals arg1="${foo}" arg2="bar" />
<then>
<echo message="The value of property foo is bar" />
</then>
<else>
<echo message="The value of property foo is not bar" />
</else>
</if>
</goal>Output is: test: [echo] The value of property foo is bar [echo] The value of property foo is not bar
Why it does not work?
Regards, Marcin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
