mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 09:03:31 +07:00
updated jdk.* properties to support JRE/JDK bundle.
This commit is contained in:
@@ -884,9 +884,9 @@ private bundledJDK(boolean win64) {
|
||||
requireProperty("artifact.linux.no.jdk", "true")
|
||||
requireProperty("artifact.mac.no.jdk", "true")
|
||||
requireProperty("jdk.win", "1.8")
|
||||
requireProperty("jdk.mac", "1.8")
|
||||
requireProperty("jdk.mac", "openjdk.1.8")
|
||||
requireProperty("jdk.linux", "1.8")
|
||||
requireProperty("jdk.custom.linux", "1.8")
|
||||
requireProperty("jdk.custom.linux", "openjdk.1.8")
|
||||
|
||||
if (new File("${home}/build/jdk").exists()) {
|
||||
if (p("jdk.win") != "false") {
|
||||
@@ -899,16 +899,13 @@ private bundledJDK(boolean win64) {
|
||||
}
|
||||
def customJdkDir = new File("${home}/build/jdk/mac/custom")
|
||||
if (p("jdk.mac") != "false" && (customJdkDir.exists() && customJdkDir.isDirectory())) {
|
||||
setProperty("macCustomJDK", getPathToBundledJDK(customJdkDir, "openjdk.1.8", ".tar.gz"))
|
||||
setProperty("macCustomJDK", getPathToBundledJDK(customJdkDir, p("jdk.mac"), ".tar.gz"))
|
||||
}
|
||||
customJdkDir = new File("${home}/build/jdk/linux/custom")
|
||||
if (p("jdk.custom.linux") != "false" && (customJdkDir.exists() && customJdkDir.isDirectory())) {
|
||||
setProperty("linuxCustomJDK", getPathToBundledJDK(customJdkDir, "openjdk.1.8", ".tar.gz"))
|
||||
setProperty("linuxCustomJDK", getPathToBundledJDK(customJdkDir, p("jdk.custom.linux"), ".tar.gz"))
|
||||
extractRedistJre(linuxCustomJDK, "${paths.sandbox}/jdk.custom.linux")
|
||||
}
|
||||
/* if (p("jdk.bundled.mac") != "false") {
|
||||
setProperty("macJDK", getPathToBundledJDK(new File("${home}/build/jdk/mac"), "jdk" + p("jdk.bundled.mac"), ".tar"))
|
||||
} */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user