From e26580a29022cb281e979f087070eef2d307058b Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Thu, 19 Dec 2019 12:50:50 +0000 Subject: [PATCH 1/1] JAL-3210 better diagnostics for net.sf.j2s.core.jar missing/mismatch in Eclipse IDE --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index fc13bff..c451100 100644 --- a/build.gradle +++ b/build.gradle @@ -2304,8 +2304,8 @@ task jalviewjsIDE_checkJ2sPlugin { def eclipseJ2sPlugin = "${eclipseHome}/dropins/${j2sPluginFile.getName()}" def eclipseJ2sPluginFile = file(eclipseJ2sPlugin) if (!eclipseJ2sPluginFile.exists()) { - def msg = "Eclipse J2S Plugin is not installed" - println(msg) + def msg = "Eclipse J2S Plugin is not installed (could not find '${eclipseJ2sPlugin}')" + System.err.println(msg) if (! copyPlugin) { throw new GradleException(msg) } @@ -2322,7 +2322,7 @@ task jalviewjsIDE_checkJ2sPlugin { if (j2sPluginMd5 != eclipseJ2sPluginMd5) { def msg = "WARNING! Eclipse J2S Plugin '${eclipseJ2sPlugin}' is different to this commit's version '${j2sPlugin}'" - println(msg) + System.err.println(msg) if (! copyPlugin) { throw new StopExecutionException(msg) } @@ -2338,7 +2338,7 @@ task jalviewjsIDE_checkJ2sPlugin { into eclipseJ2sPluginFile.getParent() } } else { - def msg = "Eclipse J2S Plugin is the same as '${j2sPlugin}'" + def msg = "Eclipse J2S Plugin is the same as '${j2sPlugin}' (this is good)" println(msg) } } -- 1.7.10.2