< prev index next >

test/jdk/tools/jpackage/share/AddLaunchersTest.java

Print this page

        

@@ -33,10 +33,11 @@
  */
 public class AddLaunchersTest {
     private static final String OUTPUT = "output";
     private static final String [] CMD1 = {
         "--description", "Test non modular app with multiple add-launchers where one is modular app and other is non modular app",
+        "--package-type", "app-image",
         "--input", "input",
         "--output", OUTPUT,
         "--name", "test",
         "--main-jar", "hello.jar",
         "--main-class", "Hello",

@@ -45,10 +46,11 @@
         "--add-launcher", "test3=j1.properties",
         "--add-launcher", "test4=m1.properties"};
 
     private static final String [] CMD2 = {
         "--description", "Test modular app with multiple add-launchers where one is modular app and other is non modular app",
+        "--package-type", "app-image",
         "--input", "input",
         "--output", OUTPUT,
         "--name", "test",
         "--module", "com.hello/com.hello.Hello",
         "--module-path", "module",
< prev index next >