You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/getting-started/graalvm-enterprise/oci/code-editor.md
+10-3
Original file line number
Diff line number
Diff line change
@@ -96,14 +96,20 @@ This Java application incorporates the [Maven plugin for GraalVM Native Image](h
96
96
97
97
### Quick Build Mode Enabled
98
98
99
-
1. Build a native executable using the `native` Maven profile. The quick build mode is enabled forthis run: notice the `<buildArg>-Ob</buildArg>` optionin the plugin's configuration in _pom.xml_.
99
+
1. To enable the quick build mode, uncomment this line in _pom.xml_, as follows:
100
+
101
+
```xml
102
+
<quickBuild>true</quickBuild>
103
+
```
104
+
105
+
2. Build a native executable using the `native` Maven profile:
100
106
101
107
```shell
102
108
mvn clean -Pnative -DskipTests package
103
109
```
104
110
This will generate a native executable forLinuxin the _target_ directory, named _my-app_.
105
111
106
-
2. Run the app native executable in the background:
112
+
3. Run the app native executable in the background:
107
113
108
114
```shell
109
115
./target/my-app
@@ -114,8 +120,9 @@ This Java application incorporates the [Maven plugin for GraalVM Native Image](h
114
120
1. To disable the quick build mode, comment out this line in _pom.xml_, as follows:
0 commit comments