Skip to content

Commit e9be04c

Browse files
committed
[GR-44803] Avoid repackaging jars in truffleruby.jar
PullRequest: truffleruby/3709
2 parents 7958712 + 8aed56c commit e9be04c

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

mx.truffleruby/mx_truffleruby.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,10 @@ def verify_ci(args):
245245
truffle_jars=[
246246
'truffleruby:TRUFFLERUBY',
247247
'truffleruby:TRUFFLERUBY-SHARED',
248-
'truffleruby:TRUFFLERUBY-ANNOTATIONS'
248+
'truffleruby:TRUFFLERUBY-ANNOTATIONS',
249+
'sdk:JLINE3',
250+
'truffleruby:JCODINGS',
251+
'truffleruby:JONI',
249252
],
250253
boot_jars=[
251254
'truffleruby:TRUFFLERUBY-SERVICES'

mx.truffleruby/suite.py

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -204,16 +204,18 @@
204204
"jdk.management",
205205
"jdk.unsupported", # sun.misc.Signal
206206
],
207-
"dependencies": [
207+
"dependencies": [ # Keep in sync with TRUFFLERUBY distDependencies and exclude
208+
# Distributions
208209
"truffleruby:TRUFFLERUBY-ANNOTATIONS",
209210
"truffleruby:TRUFFLERUBY-SHARED",
210211
"truffle:TRUFFLE_API",
211212
"truffle:TRUFFLE_NFI",
212-
"sdk:JLINE3",
213213
"regex:TREGEX",
214214
"sulong:SULONG_API",
215-
"JONI",
216-
"JCODINGS",
215+
# Libraries
216+
"sdk:JLINE3",
217+
"truffleruby:JCODINGS",
218+
"truffleruby:JONI",
217219
],
218220
"annotationProcessors": [
219221
"truffle:TRUFFLE_DSL_PROCESSOR",
@@ -275,7 +277,7 @@
275277
"org.truffleruby",
276278
"org.truffleruby.services",
277279
"mx:JUNIT",
278-
"NETBEANS-LIB-PROFILER",
280+
"truffleruby:NETBEANS-LIB-PROFILER",
279281
"sdk:LAUNCHER_COMMON"
280282
],
281283
"javaCompliance": "17+",
@@ -394,18 +396,22 @@
394396
},
395397

396398
"TRUFFLERUBY": {
397-
"mainClass": "org.truffleruby.launcher.RubyLauncher",
398399
"dependencies": [
399400
"org.truffleruby",
400401
"org.truffleruby.ruby",
401402
],
402-
"distDependencies": [
403-
"regex:TREGEX",
403+
"distDependencies": [ # Keep in sync with org.truffleruby dependencies
404+
"truffleruby:TRUFFLERUBY-ANNOTATIONS",
405+
"truffleruby:TRUFFLERUBY-SHARED",
404406
"truffle:TRUFFLE_API",
405407
"truffle:TRUFFLE_NFI",
408+
"regex:TREGEX",
406409
"sulong:SULONG_API",
407-
"truffleruby:TRUFFLERUBY-ANNOTATIONS",
408-
"truffleruby:TRUFFLERUBY-SHARED",
410+
],
411+
"exclude": [ # Keep in sync with org.truffleruby dependencies and truffle_jars in mx_truffleruby.py
412+
"sdk:JLINE3",
413+
"truffleruby:JCODINGS",
414+
"truffleruby:JONI",
409415
],
410416
"description": "TruffleRuby",
411417
"license": [
@@ -556,10 +562,10 @@
556562
],
557563
"exclude": [
558564
"mx:HAMCREST",
559-
"mx:JUNIT"
565+
"mx:JUNIT",
566+
"truffleruby:NETBEANS-LIB-PROFILER",
560567
],
561568
"distDependencies": [
562-
"NETBEANS-LIB-PROFILER",
563569
"sdk:LAUNCHER_COMMON",
564570
"TRUFFLERUBY",
565571
"TRUFFLERUBY-SERVICES",

0 commit comments

Comments
 (0)