diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-07-03 17:50:44 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-07-03 17:50:44 +0200 |
commit | 88d4c1e54cb9a7820580fda86fc79aa0b0c54c88 (patch) | |
tree | 5432a5ed79ff5a22f9d2ae537bfa4477a60b4c40 /src/support/lombok/eclipseCreate | |
parent | 933d75c2fe1dc69e2d0b08649e26d4d5939c2a64 (diff) | |
download | lombok-88d4c1e54cb9a7820580fda86fc79aa0b0c54c88.tar.gz lombok-88d4c1e54cb9a7820580fda86fc79aa0b0c54c88.tar.bz2 lombok-88d4c1e54cb9a7820580fda86fc79aa0b0c54c88.zip |
[build] [wip] the eclipse debug targets still aren't entirely correct.
Diffstat (limited to 'src/support/lombok/eclipseCreate')
-rw-r--r-- | src/support/lombok/eclipseCreate/CreateEclipseDebugTarget.java | 6 |
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(); |