mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-17 00:26:03 +00:00
Added (and left intentionally undocumented) an option to force the installer to use an absolute path for location of lombok.jar:
java -Dlombok.installer.fullpath -jar lombok.jar There have been some reports that under helios the relative path no longer cuts it, but all reports come from tweaked installs. In case folks run into this, we can now give them a quick solution. See: http://groups.google.com/group/project-lombok/browse_thread/thread/2071edd5495a8cd7
This commit is contained in:
@@ -237,7 +237,7 @@ public class EclipseLocation extends IdeLocation {
|
||||
// If someone knows how to fix this, please do so, as this current hack solution (putting the absolute path
|
||||
// to the jar files in your eclipse.ini) means you can't move your eclipse around on linux without lombok
|
||||
// breaking it. NB: rerunning lombok.jar installer and hitting 'update' will fix it if you do that.
|
||||
boolean fullPathRequired = IdeFinder.getOS() == EclipseFinder.OS.UNIX;
|
||||
boolean fullPathRequired = IdeFinder.getOS() == EclipseFinder.OS.UNIX || System.getProperty("lombok.installer.fullpath") != null;
|
||||
|
||||
boolean installSucceeded = false;
|
||||
StringBuilder newContents = new StringBuilder();
|
||||
|
||||
Reference in New Issue
Block a user