Created
November 19, 2012 18:10
-
-
Save kdabir/4112403 to your computer and use it in GitHub Desktop.
Hiding AntBuilder output in groovy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def ant = new AntBuilder() | |
| ant.echo("This Message should show up") | |
| ant.project.buildListeners[0].messageOutputLevel = 0 | |
| ant.echo("This wont show up as long as level is zero") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot, this is great!