@@ -47,9 +47,6 @@ protected static void initialize() throws Exception {
4747
4848 imagetoolZipfile = "imagetool-" + VERSION + "-SNAPSHOT.zip" ;
4949
50- // imagetool = "java -cp " + getImagetoolHome() + FS + "lib" + FS + "imagetool.jar" + PS +
51- // getImagetoolHome() + FS + "lib" + FS + "* -Djava.util.logging.config.file=" +
52- // getImagetoolHome() + FS + "bin" + FS + "logging.properties com.oracle.weblogic.imagetool.cli.CLIDriver";
5350 imagetool = "java -cp \" " + getImagetoolHome () + FS + "lib" + FS + "*\" -Djava.util.logging.config.file=" +
5451 getImagetoolHome () + FS + "bin" + FS + "logging.properties com.oracle.weblogic.imagetool.cli.CLIDriver" ;
5552
@@ -60,20 +57,19 @@ protected static void initialize() throws Exception {
6057
6158 protected static void setup () throws Exception {
6259
63- logger .info ("Setting up the test ..." +
64- "" );
65- // unzip the weblogic-image-tool/imagetool/target/imagetool-${VERSION}-SNAPSHOT.zip
60+ logger .info ("Setting up the test ..." );
6661 String command = "/bin/rm -rf " + getImagetoolHome ();
6762 logger .info ("Executing command: " + command );
6863 ExecCommand .exec (command );
6964
65+ // unzip the weblogic-image-tool/imagetool/target/imagetool-${VERSION}-SNAPSHOT.zip
7066 command = "/bin/unzip " + getTargetDir () + FS + imagetoolZipfile ;
7167 logger .info ("Executing command: " + command );
7268 ExecCommand .exec (command );
7369
7470 command = "source " + getImagetoolHome () + FS + "bin" + FS + "setup.sh" ;
7571 logger .info ("Executing command: " + command );
76- ExecResult result = ExecCommand .exec (command );
72+ ExecCommand .exec (command );
7773 }
7874
7975 protected static void cleanup () throws Exception {
0 commit comments