• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Suppress ANT-specific output

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Sunglasses. AKA Coolness prosthetic. This tiny ad doesn't need shades:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic