< prev index next >

test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageTempRootTest.java

Print this page

        

*** 29,63 **** * @summary jpackage create image to test --temp-root * @library ../helpers * @build JPackageHelper * @build JPackagePath * @modules jdk.jpackage ! * @run main/othervm -Xmx512m JPackageCreateImageTempRootTest */ ! public class JPackageCreateImageTempRootTest { private static final String OUTPUT = "output"; private static String buildRoot = null; private static final String BUILD_ROOT = "buildRoot"; private static final String BUILD_ROOT_TB = "buildRootToolProvider"; private static final String [] CMD = { ! "create-image", "--input", "input", "--output", OUTPUT, "--name", "test", "--main-jar", "hello.jar", "--main-class", "Hello", ! "--files", "hello.jar" }; private static final String [] CMD_BUILD_ROOT = { ! "create-image", "--input", "input", "--output", OUTPUT, "--name", "test", "--main-jar", "hello.jar", "--main-class", "Hello", - "--files", "hello.jar", "--temp-root", "TBD"}; private static void validate(boolean retain) throws Exception { File br = new File(buildRoot); if (retain) { --- 29,62 ---- * @summary jpackage create image to test --temp-root * @library ../helpers * @build JPackageHelper * @build JPackagePath * @modules jdk.jpackage ! * @run main/othervm -Xmx512m JPackageCreateAppImageTempRootTest */ ! public class JPackageCreateAppImageTempRootTest { private static final String OUTPUT = "output"; private static String buildRoot = null; private static final String BUILD_ROOT = "buildRoot"; private static final String BUILD_ROOT_TB = "buildRootToolProvider"; private static final String [] CMD = { ! "create-app-image", "--input", "input", "--output", OUTPUT, "--name", "test", "--main-jar", "hello.jar", "--main-class", "Hello", ! }; private static final String [] CMD_BUILD_ROOT = { ! "create-app-image", "--input", "input", "--output", OUTPUT, "--name", "test", "--main-jar", "hello.jar", "--main-class", "Hello", "--temp-root", "TBD"}; private static void validate(boolean retain) throws Exception { File br = new File(buildRoot); if (retain) {
< prev index next >