Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
58591b77
Commit
58591b77
authored
7 years ago
by
Alexander Zolotov
Browse files
Options
Download
Email Patches
Plain Diff
Exclude entire lib directory while packing JBRE without tools.jar on Mac
(IDEA-176641)
parent
0a59e9e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/dependencies/setupJbre.gradle
+5
-1
build/dependencies/setupJbre.gradle
with
5 additions
and
1 deletion
+5
-1
build/dependencies/setupJbre.gradle
+
5
-
1
View file @
58591b77
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help