X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=build.gradle;fp=build.gradle;h=21a4c81056a60c515957e814586fac298713a1bf;hb=e8a974af046e0ee231b09743c4299c89d3a95d87;hp=2612fdb77401d51976def86222d166e3c2c2c8ef;hpb=85cf5584182fa3327888d6c617a278b5ef6b6b83;p=jalview.git diff --git a/build.gradle b/build.gradle index 2612fdb..21a4c81 100644 --- a/build.gradle +++ b/build.gradle @@ -1421,16 +1421,17 @@ task jalviewjsSetEclipseWorkspace { def eclipseWsDir = propVal def props = new Properties() + def writeProps = true if (( eclipseWsDir == null || !file(eclipseWsDir).exists() ) && propsFile.exists()) { def ins = new FileInputStream(propsFileName) props.load(ins) ins.close() if (props.getProperty(propKey, null) != null) { eclipseWsDir = props.getProperty(propKey) + writeProps = false } } - def writeProps = false if (eclipseWsDir == null || !file(eclipseWsDir).exists()) { def tempDir = File.createTempDir() eclipseWsDir = tempDir.getAbsolutePath()