groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schalk Cronjé <ysb...@gmail.com>
Subject Re: Debug logging in AntBuilder
Date Mon, 28 Mar 2016 17:37:17 GMT
Unfortunately that does not work for me. Having checked the Ant docs, 
there is not messageOutputLevel on BuildLIstener.

On 28/03/2016 17:51, Nelson, Erick wrote:
> Along with CliBuilder....
>
> def ant = new AntBuilder()
> ant.project.buildListeners.each { it.messageOutputLevel = ant.project.MSG_DEBUG }
>
>
> Erick Nelson
> Senior Developer | IT Application Development
> HD Supply Facilities Maintenance
> O: 858-831-2209
> C: 760-473-7542
> H: 760-930-0461
> Erick.Nelson@hdsupply.com
>
> -----Original Message-----
> From: Schalk Cronjé [mailto:ysb33r@gmail.com]
> Sent: Saturday, March 26, 2016 1:27 PM
> To: users@groovy.apache.org
> Subject: Debug logging in AntBuilder
>
> When using Ant from the command0line one can pass -debug to turn debug
> logging on. I want to do the same when using an AntBuilder instance, but
> i cannot any reference on how this can be done (or whther it is indeed
> possible).
>
> Any pointers?
>


-- 
Schalk W. Cronjé
Twitter / Ello / Toeter : @ysb33r


Mime
View raw message