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 System.out.println Not printed when using ANT from a java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "System.out.println Not printed when using ANT from a java program" Watch "System.out.println Not printed when using ANT from a java program" New topic
Author

System.out.println Not printed when using ANT from a java program

priyank yadav
Greenhorn

Joined: Feb 23, 2006
Posts: 5
Hi Friends, I have build a customised Build Listener, which does nothing but just overrides the existing methods,
But my concern is when I had been using ant from commandline i was getting all the system.out.println, but when I am calling the ant programatically, none of the SOP are being printed, I have missed something which I am not sure, any help is much appreciated.


SOP of the following code is not being printed Even i think my logger is not initialised
[b]
[/b]
priyank yadav
Greenhorn

Joined: Feb 23, 2006
Posts: 5


This piece has helped me over come the issue.Thanks friends
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: System.out.println Not printed when using ANT from a java program