Java Mailing List Archive

Apache Ant Archive

» Ant Users List
» Ant Developers List
<assert > broken in antcontrib 1.0b3 ?!

<assert > broken in antcontrib 1.0b3 ?!

2007-05-31       - By Rebhan, Gilbert
Reply:     1     2     3     4  


i tried the most actual version of antcontrib = 1.0b3
but the assert task seem to be broken.

<!-- Import AntContrib -->
   <taskdef resource="net/sf/antcontrib/antlib.xml" />
<property name="ant.enable.asserts" value="true"/>  

<assert name="ant.enable.asserts" execute="true">
       <echo>assert works ....</echo>

output with antcontrib 1.0b2

[echo] assert works ....

output with antcontrib 1.0b3

Class net.sf.antcontrib.logic.Assert doesn't support the nested "echo"

Any ideas how to make the assert task work with 1.0b3 ?


To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.