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 @@ -1016,6 +1016,7 @@ def _native_image_launcher_extra_jvm_args():
10161016 '--features=com.oracle.svm.driver.APIOptionFeature' ,
10171017 '--initialize-at-build-time=com.oracle.svm.driver' ,
10181018 '--link-at-build-time=com.oracle.svm.driver,com.oracle.svm.driver.metainf' ,
1019+ '-H:IncludeResources=com/oracle/svm/driver/launcher/.*' ,
10191020] + svm_experimental_options ([
10201021 '-H:-ParseRuntimeOptions' ,
10211022])
@@ -1056,9 +1057,7 @@ def _native_image_launcher_extra_jvm_args():
10561057 destination = "bin/<exe:native-image>" ,
10571058 jar_distributions = ["substratevm:SVM_DRIVER" ],
10581059 main_class = _native_image_launcher_main_class (),
1059- build_args = driver_build_args + [
1060- '-H:IncludeResources=com/oracle/svm/driver/launcher/.*' ,
1061- ],
1060+ build_args = driver_build_args ,
10621061 extra_jvm_args = _native_image_launcher_extra_jvm_args (),
10631062 home_finder = False ,
10641063 ),
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