ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: Enabling assert
Date Wed, 20 Sep 2006 17:58:04 GMT
Hi,

i assume you're already using antcontrib [1],
as vanilla ant has no <assert> task

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

and after that

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


Regards, Gilbert

[1]http://ant-contrib.sourceforge.net/



Bala Paranj wrote:
> How do I enable the assert in my build script? I am getting the error message "assert
is a
> keyword, and may not be used as an identifier" when I compile the file with assert statement.
TIA.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message