Java Mailing List Archive

http://www.ant-tasks.com/

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  


Hi,

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>
       </assert>


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"
element.


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


Regards,
Gilbert


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


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.