Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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 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,

Don't get me started about those stupid light bulbs.
subject: Suppress ANT-specific output
It's not a secret anymore!