jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android 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

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
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)
Similar Threads
How do I test System.exit(-1)
Exiting a program through a switch
Exception in thread "main" java.io.IOException: Too many open files
finally clause
Running in same VM