Skip to content

Instantly share code, notes, and snippets.

@kdabir
Created November 19, 2012 18:10
Show Gist options
  • Select an option

  • Save kdabir/4112403 to your computer and use it in GitHub Desktop.

Select an option

Save kdabir/4112403 to your computer and use it in GitHub Desktop.
Hiding AntBuilder output in groovy
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")
@sustacek

Copy link
Copy Markdown

Thanks a lot, this is great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment