diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-08 14:51:48 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-08 14:51:48 +0100 |
commit | e14e8c3df3d7baa700a048b83e430db5c76ca410 (patch) | |
tree | 3839421ef5c193ecd47e7b42235a936f4a37ed1c /src/lombok/installer/Installer.java | |
parent | 3c3dcec1de856b6bab4c2df7aafc6257f900b45c (diff) | |
download | lombok-e14e8c3df3d7baa700a048b83e430db5c76ca410.tar.gz lombok-e14e8c3df3d7baa700a048b83e430db5c76ca410.tar.bz2 lombok-e14e8c3df3d7baa700a048b83e430db5c76ca410.zip |
Added more detail to the 'install successful' message for the benefit of people who start eclipse with custom -vm parameters. Doing this ignores eclipse.ini which means lombok never gets loaded.
Diffstat (limited to 'src/lombok/installer/Installer.java')
-rw-r--r-- | src/lombok/installer/Installer.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lombok/installer/Installer.java b/src/lombok/installer/Installer.java index 78446d47..4b0f7699 100644 --- a/src/lombok/installer/Installer.java +++ b/src/lombok/installer/Installer.java @@ -522,7 +522,13 @@ public class Installer { if (success.get()) SwingUtilities.invokeLater(new Runnable() { @Override public void run() { - JOptionPane.showMessageDialog(appWindow, "<html>Lombok has been installed on the selected Eclipse installations.<br>Don't forget to add <code>lombok.jar</code> to your projects, and restart your eclipse!</html>", "Install successful", JOptionPane.INFORMATION_MESSAGE); + JOptionPane.showMessageDialog(appWindow, + "<html>Lombok has been installed on the selected Eclipse installations.<br>" + + "Don't forget to add <code>lombok.jar</code> to your projects, and restart your eclipse!<br>" + + "If you start eclipse with a custom -vm parameter, you'll need to add:<br>" + + "<code>-vmargs -Xbootclasspath/a:lombok.jar -javaagent:lombok.jar</code><br>" + + "as parameter as well.</html>", "Install successful", + JOptionPane.INFORMATION_MESSAGE); appWindow.setVisible(false); System.exit(0); } @@ -819,5 +825,5 @@ public class Installer { "-javaagent:lombok.jar</pre></li></ol>" + "<br>" + "That's all there is to it. Note that on Mac OS X, eclipse.ini is hidden in<br>" + - "<code>Eclipse.app/Contents/MacOS</code> so that's where I place the jar files.</html>"; + "<code>Eclipse.app%1$sContents%1$sMacOS</code> so that's where I place the jar files.</html>"; } |