\r
runner.setAntRun(project);\r
runner.setCommandline(cmdline.getCommandline());\r
- System.out.println(Commandline.toString(cmdline.getCommandline()));\r
\r
+ log(Commandline.toString(cmdline.getCommandline()), Project.MSG_VERBOSE);\r
+ log(this.commandType.substring(2));\r
revl = runner.execute();\r
if (EFI_SUCCESS == revl) {\r
- ///\r
- /// command execution success\r
- ///\r
- System.out.println("strgather succeeded!");\r
+ log("strgather succeeded!", Project.MSG_VERBOSE);\r
} else {\r
///\r
/// command execution fail\r
///\r
- System.out.println("strgather failed. (error="\r
- + Integer.toHexString(revl) + ")");\r
- throw new BuildException("strgather failed. (error="\r
- + Integer.toHexString(revl) + ")");\r
+ log("ERROR = " + Integer.toHexString(revl));\r
+ throw new BuildException("strgather failed!");\r
}\r
} catch (Exception e) {\r
throw new BuildException(e.getMessage());\r