112 OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT; |
112 OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT; |
113 OUTPUT_DEP = "output" + File.separator + DEP_NAME + "-1.0." + EXT; |
113 OUTPUT_DEP = "output" + File.separator + DEP_NAME + "-1.0." + EXT; |
114 } |
114 } |
115 CMD = new String[]{ |
115 CMD = new String[]{ |
116 "create-installer", |
116 "create-installer", |
|
117 "--installer-type", |
117 EXT, |
118 EXT, |
118 "--input", "input", |
119 "--input", "input", |
119 "--output", "output", |
120 "--output", "output", |
120 "--name", TEST_NAME, |
121 "--name", TEST_NAME, |
121 "--main-jar", "hello.jar", |
122 "--main-jar", "hello.jar", |
122 "--class", "Hello", |
123 "--main-class", "Hello", |
123 "--force", |
124 "--overwrite", |
124 "--files", "hello.jar", |
125 "--files", "hello.jar", |
125 "--linux-package-deps", DEP_NAME.toLowerCase()}; |
126 "--linux-package-deps", DEP_NAME.toLowerCase()}; |
126 CMD_DEP = new String[]{ |
127 CMD_DEP = new String[]{ |
127 "create-installer", |
128 "create-installer", |
|
129 "--installer-type", |
128 EXT, |
130 EXT, |
129 "--input", "input", |
131 "--input", "input", |
130 "--output", "output", |
132 "--output", "output", |
131 "--name", DEP_NAME, |
133 "--name", DEP_NAME, |
132 "--main-jar", "hello.jar", |
134 "--main-jar", "hello.jar", |
133 "--class", "Hello", |
135 "--main-class", "Hello", |
134 "--force", |
136 "--overwrite", |
135 "--files", "hello.jar"}; |
137 "--files", "hello.jar"}; |
136 } |
138 } |
137 |
139 |
138 public static void run(String name, String ext) throws Exception { |
140 public static void run(String name, String ext) throws Exception { |
139 init(name, ext); |
141 init(name, ext); |