ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wascally Wabbit <wascallywab...@earthling.net>
Subject Re: [antxtras] Turn off verifying content on start ?
Date Sun, 12 Sep 2010 13:24:19 GMT
Gilbert Rebhan wrote:
> Using antxtras anyone ?
> 
> Env = antxtras 2.0.1, ant171, jdk 1.6.0_18
> 
> My antscript imports some files with macrodefs right on start via
> <import>. Some of these macrodefs  have attributes that contain
> properties as desfault value, f.e.
> attribute="someattr" default="${someproperty}
> 
> When those macrodefs get called later in ant workflow, such properties
> are set in the meantime, but i have to import my macrodefs right
> at the beginning.
> 
> Whereas ant doesn't complain at all, antxtras is logging messages
> like that =
> Unable to find property value for '${someproperty}'
> Unable to completely resolve the property "${foobar}".
> ....
> 
> After checking the sources =
> org/jwaresoftware/antxtras/core/AntX
> line 99-100 :
> /** Property to control whether AntXtras tasks verify content on load. **/
>     public final static String STRICT_SCRIPTCHECK_PROP=
>         ANTX_CONFIG_ID+".strict.scriptcheck.enabled";
> 
> i tried with =
> 
> <project name="project" default="main">
>   <property name="jware.antxtras.strict.scriptcheck.enabled" value="off"/>
> ..... value="no"
> .....value="false"
> 
> and ant -Djware.antxtras.strict.scriptcheck.enabled=off
> ....=no
> ....=false
> 
>  but it didn't work.
> 
> How to get rid off those annoying messages ??
> (It's ok when using ant -debug)
> 
> 
> 
> Regards, Gilbert
> 

Hi Gilbert,

I'm afraid for AntXtras 2.0.1 there is no property to disable
this warning. The level was changed to verbose as of 3.0.0b1.

-The Wabbit

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


Mime
View raw message