diff --git a/substratevm/mx.substratevm/jar-with-space-in-resource-dir.jar b/substratevm/mx.substratevm/jar-with-space-in-resource-dir.jar new file mode 100644 index 000000000000..d4dfbc94e599 Binary files /dev/null and b/substratevm/mx.substratevm/jar-with-space-in-resource-dir.jar differ diff --git a/substratevm/mx.substratevm/jar-with-space-in-resource-dir.jar.sha512 b/substratevm/mx.substratevm/jar-with-space-in-resource-dir.jar.sha512 new file mode 100644 index 000000000000..6b33c66f3d17 --- /dev/null +++ b/substratevm/mx.substratevm/jar-with-space-in-resource-dir.jar.sha512 @@ -0,0 +1 @@ +270bffd158c92b04b16db147f4ef336dcb4d830bf3503cc25be1227b351597a3254544b3c4a5183dcc53f2f3ab10b282722dbf7f1b5e9d9a2741878a7057eb40 \ No newline at end of file diff --git a/substratevm/mx.substratevm/suite.py b/substratevm/mx.substratevm/suite.py index c21b5ce51a94..95a15778069d 100644 --- a/substratevm/mx.substratevm/suite.py +++ b/substratevm/mx.substratevm/suite.py @@ -194,6 +194,14 @@ } } }, + "SVM_TEST_RESOURCE_WITH_SPACE": { + # This jar only contains a resource with a space in its path. + # We cannot have folder with spaces in the source tree, as it + # does not work well with certain build tools, for example + # make. [GR-50375] + "path": "mx.substratevm/jar-with-space-in-resource-dir.jar", + "digest": "sha512:270bffd158c92b04b16db147f4ef336dcb4d830bf3503cc25be1227b351597a3254544b3c4a5183dcc53f2f3ab10b282722dbf7f1b5e9d9a2741878a7057eb40", + }, }, "projects": { @@ -2000,6 +2008,7 @@ "com.oracle.svm.test", "com.oracle.svm.configure.test", "com.oracle.svm.graal.test", + "SVM_TEST_RESOURCE_WITH_SPACE", ], "distDependencies": [ "mx:JUNIT_TOOL", diff --git a/substratevm/src/com.oracle.svm.test/src/resources/dir with space/.mxkeep b/substratevm/src/com.oracle.svm.test/src/resources/dir with space/.mxkeep deleted file mode 100644 index 5c74e3c55f30..000000000000 --- a/substratevm/src/com.oracle.svm.test/src/resources/dir with space/.mxkeep +++ /dev/null @@ -1 +0,0 @@ -This file instructs mx to create a jar entry for the parent directory \ No newline at end of file