From: Ben Soares Date: Tue, 22 Oct 2019 10:35:15 +0000 (+0100) Subject: JAL-3210 small fix for jalviewjsBuildDir X-Git-Tag: Release_2_11_4_0~45^2~18^2~106 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=750ed348b3407d2a133bc7d54bfbae612f48c53f;p=jalview.git JAL-3210 small fix for jalviewjsBuildDir --- diff --git a/.classpath.all b/.classpath.all deleted file mode 100644 index 8a4a050..0000000 --- a/.classpath.all +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.classpath.js b/.classpath.js deleted file mode 100644 index 1a6df64..0000000 --- a/.classpath.js +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build.gradle b/build.gradle index d575f18..9b7b171 100644 --- a/build.gradle +++ b/build.gradle @@ -1266,11 +1266,11 @@ def jalviewjsBuildDir def jalviewjsSiteDir def jalviewjsTransferSiteDir task jalviewjsSitePath { + def relativeBuildDir = file(jalviewDirAbsolutePath).toPath().relativize(buildDir.toPath()) + jalviewjsBuildDir = "${relativeBuildDir}/jalviewjs" if (jalviewjs_site_dir.startsWith("/")) { jalviewjsSiteDir = jalviewjs_site_dir } else { - def relativeBuildDir = file(jalviewDirAbsolutePath).toPath().relativize(buildDir.toPath()) - jalviewjsBuildDir = "${relativeBuildDir}/jalviewjs" jalviewjsSiteDir = jalviewjsBuildDir + "/" + jalviewjs_site_dir } jalviewjsTransferSiteDir = jalviewjsBuildDir + "/tmp/site"