From e14e8c3df3d7baa700a048b83e430db5c76ca410 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Sun, 8 Nov 2009 14:51:48 +0100 Subject: 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. --- src/lombok/installer/Installer.java | 10 ++++++++-- 1 file 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, "Lombok has been installed on the selected Eclipse installations.
Don't forget to add lombok.jar to your projects, and restart your eclipse!", "Install successful", JOptionPane.INFORMATION_MESSAGE); + JOptionPane.showMessageDialog(appWindow, + "Lombok has been installed on the selected Eclipse installations.
" + + "Don't forget to add lombok.jar to your projects, and restart your eclipse!
" + + "If you start eclipse with a custom -vm parameter, you'll need to add:
" + + "-vmargs -Xbootclasspath/a:lombok.jar -javaagent:lombok.jar
" + + "as parameter as well.", "Install successful", + JOptionPane.INFORMATION_MESSAGE); appWindow.setVisible(false); System.exit(0); } @@ -819,5 +825,5 @@ public class Installer { "-javaagent:lombok.jar" + "
" + "That's all there is to it. Note that on Mac OS X, eclipse.ini is hidden in
" + - "Eclipse.app/Contents/MacOS so that's where I place the jar files."; + "Eclipse.app%1$sContents%1$sMacOS so that's where I place the jar files."; } -- cgit