mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
force 'license' dir presence, event if empty in both source and destination locations
This commit is contained in:
@@ -138,6 +138,12 @@ def layoutAll(Map args, String home, String out, Paths _paths = null, buildJps =
|
||||
notifyArtifactBuilt(paths.artifacts_jps)
|
||||
}
|
||||
|
||||
// in case the license directory is absent, create it
|
||||
mkdir(dir: "${home}/license")
|
||||
[paths.distWin, paths.distAll, paths.distUnix, paths.distMac].each {
|
||||
ant.mkdir(dir: it + "/license")
|
||||
}
|
||||
|
||||
layout(paths.distAll) {
|
||||
dir("bin") {
|
||||
fileset(dir: "${home}/bin") {
|
||||
@@ -145,8 +151,6 @@ def layoutAll(Map args, String home, String out, Paths _paths = null, buildJps =
|
||||
}
|
||||
}
|
||||
|
||||
ant.mkdir(dir: "${home}/license") // in case the source license directory is absent, create it
|
||||
|
||||
dir("license") {
|
||||
fileset(dir: "${home}/license")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user