test/jdk/tools/jpackage/createinstaller/linux/base/JPackageCreateInstallerLicenseBase.java
branchJDK-8200758-branch
changeset 57150 fa68c2ab636d
parent 57106 ea870b9ce89a
child 57180 1d6f8a7c6d5a
equal deleted inserted replaced
57141:e7ba8c89abe7 57150:fa68c2ab636d
    66         } else {
    66         } else {
    67             OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT;
    67             OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT;
    68         }
    68         }
    69         CMD = new String [] {
    69         CMD = new String [] {
    70         "create-installer",
    70         "create-installer",
       
    71         "--installer-type",
    71         EXT,
    72         EXT,
    72         "--input", "input",
    73         "--input", "input",
    73         "--output", "output",
    74         "--output", "output",
    74         "--name", TEST_NAME,
    75         "--name", TEST_NAME,
    75         "--main-jar", "hello.jar",
    76         "--main-jar", "hello.jar",
    76         "--class", "Hello",
    77         "--main-class", "Hello",
    77         "--force",
    78         "--overwrite",
    78         "--files", "hello.jar",
    79         "--files", "hello.jar",
    79         "--license-file", JPackagePath.getLicenseFilePath()};
    80         "--license-file", JPackagePath.getLicenseFilePath()};
    80     }
    81     }
    81 
    82 
    82     public static void run(String name, String ext) throws Exception {
    83     public static void run(String name, String ext) throws Exception {