wood burning stoves*
The moose likes Ant, Maven and Other Build Tools and the fly likes Suppress ANT-specific output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Suppress ANT-specific output " Watch "Suppress ANT-specific output " New topic

Suppress ANT-specific output

See El
Ranch Hand

Joined: Oct 07, 2002
Posts: 44
Is there any way to suppress ANT-specific output only, preserving output from called program ?
I have an java program that produce some text output (System.out.println or Logger.info) and and ANT task that execute that program.
I want to have console output only from program itself without ANT-specific messages (ant taskname, "[...]" stuff).
I have tried combination of -quiet and -emacs without success :
-emacs solve the problem of preceding "[...]"
-quiet disable all output from ANT as well as from my program alltogether.
The last step would be writing my own ANT-logger-listener which would be too much efforts for such trivial looking task.
Thanks in advance for any suggestion,

It is sorta covered in the JavaRanch Style Guide.
subject: Suppress ANT-specific output
Similar Threads
multiple jar creation for multiple directories
ERROR in PlasmaCloud.java double displacement = StdRandom.gaussian(0, stddev);
this page is accessing information that is not under its control
calling perl program thru Ant task
Ant cannot find file, but it's there