< prev index next >

test/jdk/tools/jpackage/createimage/JPackageCreateImageModuleTest.java

Print this page

        

*** 30,49 **** * @build JPackageCreateImageBase * @modules jdk.jpackage * @run main/othervm -Xmx512m JPackageCreateImageModuleTest */ public class JPackageCreateImageModuleTest { private static final String [] CMD = { "create-image", ! "--output", "output", "--name", "test", - "--overwrite", "--module", "com.hello/com.hello.Hello", "--module-path", "input"}; public static void main(String[] args) throws Exception { JPackageHelper.createHelloModule(); JPackageCreateImageBase.testCreateImage(CMD); JPackageCreateImageBase.testCreateImageToolProvider(CMD); } } --- 30,51 ---- * @build JPackageCreateImageBase * @modules jdk.jpackage * @run main/othervm -Xmx512m JPackageCreateImageModuleTest */ public class JPackageCreateImageModuleTest { + private static final String OUTPUT = "output"; + private static final String [] CMD = { "create-image", ! "--output", OUTPUT, "--name", "test", "--module", "com.hello/com.hello.Hello", "--module-path", "input"}; public static void main(String[] args) throws Exception { JPackageHelper.createHelloModule(); JPackageCreateImageBase.testCreateImage(CMD); + JPackageHelper.deleteOutputFolder(OUTPUT); JPackageCreateImageBase.testCreateImageToolProvider(CMD); } }
< prev index next >