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 How to avoid system.exit(0) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to avoid system.exit(0)" Watch "How to avoid system.exit(0)" New topic
Author

How to avoid system.exit(0)

Igor Zeta
Ranch Hand

Joined: Nov 12, 2002
Posts: 40
attached with the previous task
about how to launch an ant job from java code,
I'm asking myself why after the execution ends
my swing gui program exit?
Any suggestion on how to avoid ant System.exit()?
Please give me some Chink of light!


ciao<br />Igor Zeta<br />SCJP1.4
Igor Zeta
Ranch Hand

Joined: Nov 12, 2002
Posts: 40
Great!
I've found the answer my own!
A good happening in a dark day
I've found the answer on the Sun site
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to avoid system.exit(0)