diff options
author | Jose <jose@zeroc.com> | 2017-04-14 11:24:37 -0700 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-14 11:24:37 -0700 |
commit | ef470fd2abb2af9fcc7ed62fa451812d91f42172 (patch) | |
tree | f987e749a9a80b217edd338518168b8b582e0797 /java | |
parent | Use the 10.3 simulator runtime for testing (diff) | |
download | ice-ef470fd2abb2af9fcc7ed62fa451812d91f42172.tar.bz2 ice-ef470fd2abb2af9fcc7ed62fa451812d91f42172.tar.xz ice-ef470fd2abb2af9fcc7ed62fa451812d91f42172.zip |
Fix (ICE-7807) - Inconsistent install prefix in Java
Diffstat (limited to 'java')
-rw-r--r-- | java/gradle.properties | 12 | ||||
-rw-r--r-- | java/gradle/ice.gradle | 4 |
2 files changed, 12 insertions, 4 deletions
diff --git a/java/gradle.properties b/java/gradle.properties index e7640fcd9da..cddda8242f3 100644 --- a/java/gradle.properties +++ b/java/gradle.properties @@ -7,14 +7,22 @@ // // ********************************************************************** +// +// Version used in JAR files +// iceVersion = 3.7.0-beta0 // +// Prefix version +// +prefixVersion = 3.7b0 + +// // Select an installation base directory. The directory will be created // if it does not exist. If this property is not set the default will be // used. Default values are: -// - Windows: %SystemDrive%\Ice-${iceVersion} -// - Non Windows /opt/Ice-${iceVersion} +// - Windows: %SystemDrive%\Ice-${prefixVersion} +// - Non Windows /opt/Ice-${prefixVersion} // prefix = diff --git a/java/gradle/ice.gradle b/java/gradle/ice.gradle index f624e929ec3..61739f8b117 100644 --- a/java/gradle/ice.gradle +++ b/java/gradle/ice.gradle @@ -72,9 +72,9 @@ def isWindows = System.properties['os.name'].toLowerCase().contains('windows') if (!prefix) { // If the prefix isn't set use these default locations. if (isWindows) { - prefix = "C:\\Ice-${project.version}" + prefix = "C:\\Ice-${prefixVersion}" } else { - prefix = "/opt/Ice-${project.version}" + prefix = "/opt/Ice-${prefixVersion}" } } |