ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject <assert> broken in antcontrib 1.0b3 ?!
Date Thu, 31 May 2007 13:10:08 GMT

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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message