From 88d4c1e54cb9a7820580fda86fc79aa0b0c54c88 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 3 Jul 2020 17:50:44 +0200 Subject: [build] [wip] the eclipse debug targets still aren't entirely correct. --- src/support/lombok/eclipseCreate/CreateEclipseDebugTarget.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/support/lombok/eclipseCreate') 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("\n"); + if (bootpath != null) launchContent.append(" -Ddelombok.bootclasspath=" + bootpath); + launchContent.append("\"/>\n\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(); -- cgit