//\r
// set Logger\r
//\r
- FrameworkLogger logger = new FrameworkLogger(project, "edkStrip");\r
+ FrameworkLogger logger = new FrameworkLogger(project, "strip");\r
EdkLog.setLogLevel(project.getProperty("env.LOGLEVEL"));\r
EdkLog.setLogger(logger);\r
//\r
String command;\r
String argument;\r
if (path == null) {\r
- command = "strip";\r
+ command = "Strip";\r
} else {\r
command = path + File.separatorChar + "Strip";\r
}\r
//\r
// Set debug log information.\r
//\r
- EdkLog.log(EdkLog.EDK_INFO, Commandline.toString(cmdline.getCommandline()));\r
+ EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));\r
+ EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFile)).getName());\r
\r
revl = runner.execute();\r
\r
//\r
// command execution success\r
//\r
- EdkLog.log(EdkLog.EDK_INFO,"Strip succeeded!");\r
+ EdkLog.log(EdkLog.EDK_VERBOSE, "Strip succeeded!");\r
} else {\r
//\r
// command execution fail\r
//\r
- EdkLog.log(EdkLog.EDK_ERROR, "Strip failed. (error="\r
- + Integer.toHexString(revl) + ")");\r
- throw new BuildException("Strip failed. (error="\r
- + Integer.toHexString(revl) + ")");\r
-\r
+ EdkLog.log(EdkLog.EDK_INFO, "ERROR = " + Integer.toHexString(revl));\r
+ throw new BuildException("Strip failed!");\r
}\r
} catch (Exception e) {\r
throw new BuildException(e.getMessage());\r