test/jdk/tools/jpackage/createinstaller/windows/base/JPackageCreateInstallerLicenseBase.java
branchJDK-8200758-branch
changeset 57150 fa68c2ab636d
parent 57106 ea870b9ce89a
child 57180 1d6f8a7c6d5a
equal deleted inserted replaced
57141:e7ba8c89abe7 57150:fa68c2ab636d
    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 {