aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/support/lombok/eclipseCreate/CreateEclipseDebugTarget.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/support/lombok/eclipseCreate/CreateEclipseDebugTarget.java b/src/support/lombok/eclipseCreate/CreateEclipseDebugTarget.java
index d00524f7..f004f521 100644
--- a/src/support/lombok/eclipseCreate/CreateEclipseDebugTarget.java
+++ b/src/support/lombok/eclipseCreate/CreateEclipseDebugTarget.java
@@ -132,13 +132,13 @@ public class CreateEclipseDebugTarget {
if (!entry.getKey().startsWith("conf.")) continue;
launchContent.append(File.pathSeparator).append(entry.getValue());
}
- if (bootpath != null) launchContent.append(" -Ddelombok.bootclasspath=" + bootpath + "\"/>\n");
- launchContent.append("</launchConfiguration>\n");
+ if (bootpath != null) launchContent.append(" -Ddelombok.bootclasspath=" + bootpath);
+ launchContent.append("\"/>\n</launchConfiguration>\n");
}
private String getBootPath() {
String bp = args.get("bootpath");
- if (bp == null) return null;
+ if (bp == null || bp.isEmpty() || bp.equals("0")) return null;
File f = new File(bp);
if (!f.isAbsolute()) return bp;
String r = new File(".").getAbsolutePath();