Skip to content

Commit b778a48

Browse files
committed
Use external file for JVM arguments
Signed-off-by: Pekka Enberg <penberg@iki.fi>
1 parent 1c5049f commit b778a48

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Capstanfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ base: cloudius/osv-openjdk
1212
#
1313
# The command line passed to OSv to start up the application.
1414
#
15-
cmdline: /java.so -jar /capstan-example-java.jar
15+
cmdline: /java.so io.osv.MultiJarLoader -mains /javamains
1616

1717
#
1818
# The command to use to build the application. In this example, we just use
@@ -25,3 +25,4 @@ build: mvn package
2525
#
2626
files:
2727
/capstan-example-java.jar: target/capstan-example-java-1.0-SNAPSHOT-jar-with-dependencies.jar
28+
/javamains: javamains

javamains

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-jar /capstan-example-java.jar

0 commit comments

Comments
 (0)