File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Suppress ANT-specific output

See El
Ranch Hand

Joined: Oct 07, 2002
Posts: 44
Hi,
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 "[...]"
but
-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,


See El<br />SCJP2, SCWCD, IBM XML, SCBCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Suppress ANT-specific output