diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-02 04:35:35 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-02 04:35:35 +0100 |
commit | 3c3dcec1de856b6bab4c2df7aafc6257f900b45c (patch) | |
tree | a18ec9f6408a5c4d41f3e8f1acdd98ddc065fdc3 /src/lombok/installer/Installer.java | |
parent | b6cd2fbc9edbc10b8652777628e7da2b2df4f674 (diff) | |
download | lombok-3c3dcec1de856b6bab4c2df7aafc6257f900b45c.tar.gz lombok-3c3dcec1de856b6bab4c2df7aafc6257f900b45c.tar.bz2 lombok-3c3dcec1de856b6bab4c2df7aafc6257f900b45c.zip |
When the installer can't work because the eclipse dir is not writable, you used to get the
wrong error message; this has been fixed. The error message now gives much more detail on how
to proceed, and the installer no longer hangs after displaying this message.
Diffstat (limited to 'src/lombok/installer/Installer.java')
-rw-r--r-- | src/lombok/installer/Installer.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lombok/installer/Installer.java b/src/lombok/installer/Installer.java index b19649a7..78446d47 100644 --- a/src/lombok/installer/Installer.java +++ b/src/lombok/installer/Installer.java @@ -527,6 +527,12 @@ public class Installer { System.exit(0); } }); + + if (!success.get()) SwingUtilities.invokeLater(new Runnable() { + @Override public void run() { + System.exit(0); + } + }); } }.start(); } |