From 9e31a59b947882325ffe614bd71fb732d7952a23 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Tue, 4 Jun 2019 16:30:10 +0100 Subject: [PATCH] JAL-3287 correct local file URI for appbase and getdownDigest in Windows --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index e099ef4..a7c7f18 100644 --- a/build.gradle +++ b/build.gradle @@ -49,7 +49,7 @@ def compile_target_compatibility ext { // where the getdown channel will be built. // TODO: consider allowing this expression to be overrriden by -P arg - getdownWebsiteDir = jalviewDir + '/' + getdown_website_dir + '/' + JAVA_VERSION + '/' + getdownWebsiteDir = jalviewDir + '/' + getdown_website_dir + '/' + JAVA_VERSION getdownAppDir = getdownWebsiteDir + '/' + getdown_app_dir getdownJ11libDir = getdownWebsiteDir + '/' + getdown_j11lib_dir getdownResourceDir = getdownWebsiteDir + '/' + getdown_resource_dir @@ -649,7 +649,7 @@ task getdownWebsite() { props.put("getdown_txt_multi_java_location", getdown_alt_multi_java_location) if (getdown_local == "true") { - getdown_app_base = "file://"+file(getdownWebsiteDir).getAbsolutePath() + getdown_app_base = file(getdownWebsiteDir).toURI().toString() } props.put("getdown_txt_appbase", getdown_app_base) props.each{ prop, val -> -- 1.7.10.2