ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: <assert> doesn't work as expected
Date Thu, 08 Sep 2005 05:42:54 GMT

Oops ...

thanks for the pointer  ! , 
i overread that in the manual of antcontrib.

The line =
...the Assert task must be 'turned on' using the property

should be put between <b> </b>

With =

<!-- Import AntContrib -->
<taskdef resource="net/sf/antcontrib/antlib.xml" />

and after that

<property name="ant.enable.asserts" value="true"/>

at the beginning of my script, assert works like expected now.


-----Original Message-----
From: Ninju Bohra [] 
Sent: Wednesday, September 07, 2005 6:34 PM
To: Ant Users List
Subject: RE: <assert> doesn't work as expected

Let's start from the beginning... did you set the
property ant.enable.asserts when running the target?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message