test/jdk/tools/jpackage/createinstaller/windows/base/JPackageCreateInstallerLicenseBase.java
equal
deleted
inserted
replaced
67 TEST_NAME = name; |
67 TEST_NAME = name; |
68 EXT = ext; |
68 EXT = ext; |
69 OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT; |
69 OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT; |
70 CMD = new String [] { |
70 CMD = new String [] { |
71 "create-installer", |
71 "create-installer", |
|
72 "--installer-type", |
72 EXT, |
73 EXT, |
73 "--input", "input", |
74 "--input", "input", |
74 "--output", "output", |
75 "--output", "output", |
75 "--name", TEST_NAME, |
76 "--name", TEST_NAME, |
76 "--main-jar", "hello.jar", |
77 "--main-jar", "hello.jar", |
77 "--class", "Hello", |
78 "--main-class", "Hello", |
78 "--force", |
79 "--overwrite", |
79 "--files", "hello.jar", |
80 "--files", "hello.jar", |
80 "--license-file", JPackagePath.getLicenseFilePath()}; |
81 "--license-file", JPackagePath.getLicenseFilePath()}; |
81 } |
82 } |
82 |
83 |
83 public static void run(String name, String ext) throws Exception { |
84 public static void run(String name, String ext) throws Exception { |