@@ -47,9 +47,6 @@ protected static void initialize() throws Exception {
47
47
48
48
imagetoolZipfile = "imagetool-" + VERSION + "-SNAPSHOT.zip" ;
49
49
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";
53
50
imagetool = "java -cp \" " + getImagetoolHome () + FS + "lib" + FS + "*\" -Djava.util.logging.config.file=" +
54
51
getImagetoolHome () + FS + "bin" + FS + "logging.properties com.oracle.weblogic.imagetool.cli.CLIDriver" ;
55
52
@@ -60,20 +57,19 @@ protected static void initialize() throws Exception {
60
57
61
58
protected static void setup () throws Exception {
62
59
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 ..." );
66
61
String command = "/bin/rm -rf " + getImagetoolHome ();
67
62
logger .info ("Executing command: " + command );
68
63
ExecCommand .exec (command );
69
64
65
+ // unzip the weblogic-image-tool/imagetool/target/imagetool-${VERSION}-SNAPSHOT.zip
70
66
command = "/bin/unzip " + getTargetDir () + FS + imagetoolZipfile ;
71
67
logger .info ("Executing command: " + command );
72
68
ExecCommand .exec (command );
73
69
74
70
command = "source " + getImagetoolHome () + FS + "bin" + FS + "setup.sh" ;
75
71
logger .info ("Executing command: " + command );
76
- ExecResult result = ExecCommand .exec (command );
72
+ ExecCommand .exec (command );
77
73
}
78
74
79
75
protected static void cleanup () throws Exception {
0 commit comments