mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Exclude entire lib directory while packing JBRE without tools.jar on Mac
(IDEA-176641)
This commit is contained in:
@@ -94,7 +94,11 @@ def createTarJbreTask(String taskName, String untarTaskName, String platform, St
|
||||
outputs.file(outputFile)
|
||||
def arguments = ['tar', '-czf', outputFile, '-C', untarOutputs.singleFile.absolutePath]
|
||||
if (!includeToolsJar) {
|
||||
arguments += ['--exclude', "**/tools.jar"]
|
||||
arguments += ['--exclude', '**/tools.jar']
|
||||
// exclude entire lib directory (IDEA-176641)
|
||||
if (platform == 'osx') {
|
||||
arguments += ['--exclude', './jdk/Contents/Home/lib']
|
||||
}
|
||||
}
|
||||
arguments += [dirToTar]
|
||||
commandLine arguments
|
||||
|
||||
Reference in New Issue
Block a user