File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/com.oracle.svm.driver/src/com/oracle/svm/driver Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1007,6 +1007,7 @@ def _native_image_launcher_extra_jvm_args():
10071007 '--features=com.oracle.svm.driver.APIOptionFeature' ,
10081008 '--initialize-at-build-time=com.oracle.svm.driver' ,
10091009 '--link-at-build-time=com.oracle.svm.driver,com.oracle.svm.driver.metainf' ,
1010+ '-H:IncludeResources=com/oracle/svm/driver/launcher/.*' ,
10101011]
10111012
10121013mx_sdk_vm .register_graalvm_component (mx_sdk_vm .GraalVmJreComponent (
@@ -1027,9 +1028,7 @@ def _native_image_launcher_extra_jvm_args():
10271028 destination = "bin/<exe:native-image>" ,
10281029 jar_distributions = ["substratevm:SVM_DRIVER" ],
10291030 main_class = _native_image_launcher_main_class (),
1030- build_args = driver_build_args + [
1031- '-H:IncludeResources=com/oracle/svm/driver/launcher/.*' ,
1032- ],
1031+ build_args = driver_build_args ,
10331032 extra_jvm_args = _native_image_launcher_extra_jvm_args (),
10341033 home_finder = False ,
10351034 ),
Original file line number Diff line number Diff line change @@ -786,7 +786,7 @@ private Path writeBundle() {
786786 createDockerfile (dockerfilePath );
787787 }
788788 } else if (!dockerfilePath .equals (containerSupport .dockerfile )) {
789- Files .copy (containerSupport .dockerfile , dockerfilePath );
789+ Files .copy (containerSupport .dockerfile , dockerfilePath , StandardCopyOption . REPLACE_EXISTING );
790790 }
791791 } catch (IOException e ) {
792792 throw NativeImage .showError ("Failed to write bundle-file " + dockerfilePath , e );
You can’t perform that action at this time.
0 commit comments