  | |  | using antcontrib in maven | using antcontrib in maven 2004-04-01 - By Marcin Gurbisz
Back Hi,
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: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |