equal
deleted
inserted
replaced
29 * @build JPackagePath |
29 * @build JPackagePath |
30 * @build JPackageCreateAppImageBase |
30 * @build JPackageCreateAppImageBase |
31 * @modules jdk.jpackage |
31 * @modules jdk.jpackage |
32 * @run main/othervm -Xmx512m JPackageCreateAppImageModulePathTest |
32 * @run main/othervm -Xmx512m JPackageCreateAppImageModulePathTest |
33 */ |
33 */ |
|
34 |
|
35 import java.io.File; |
|
36 |
34 public class JPackageCreateAppImageModulePathTest { |
37 public class JPackageCreateAppImageModulePathTest { |
35 private static final String OUTPUT = "output"; |
38 private static final String OUTPUT = "output"; |
36 |
39 |
37 private static final String [] CMD1 = { |
40 private static final String [] CMD1 = { |
38 "create-app-image", |
41 "create-app-image", |
45 private static final String [] CMD2 = { |
48 private static final String [] CMD2 = { |
46 "create-app-image", |
49 "create-app-image", |
47 "--output", OUTPUT, |
50 "--output", OUTPUT, |
48 "--name", "test", |
51 "--name", "test", |
49 "--module", "com.hello/com.hello.Hello", |
52 "--module", "com.hello/com.hello.Hello", |
50 "--module-path", "input;input-other", |
53 "--module-path", "input" + File.pathSeparator + "input-other", |
51 }; |
54 }; |
52 |
55 |
53 private static final String [] CMD3 = { |
56 private static final String [] CMD3 = { |
54 "create-app-image", |
57 "create-app-image", |
55 "--output", OUTPUT, |
58 "--output", OUTPUT, |