///\r
/// output directory\r
///\r
- private String outputDir = "";\r
+ private String outputDir = ".";\r
\r
\r
///\r
argList.add(((Input)pe32ComprList.next()).getFile());\r
}\r
}\r
- EdkLog.log(EdkLog.EDK_INFO, argList.toString().replaceAll(",",""));\r
- \r
+\r
+ EdkLog.log(EdkLog.EDK_VERBOSE, argList.toString().replaceAll(",",""));\r
+ EdkLog.log(EdkLog.EDK_INFO, " ");\r
+\r
//\r
// lauch the program\r
//\r
exitCode = cmdProc.waitFor();\r
if (exitCode != 0) {\r
int len = cmdOut.read(buf, 0, 1024);\r
- EdkLog.log(EdkLog.EDK_ERROR,new String(buf, 0, len));\r
+ EdkLog.log(EdkLog.EDK_INFO, new String(buf, 0, len));\r
} else {\r
- EdkLog.log(EdkLog.EDK_INFO, "FlashMap succeed!");\r
+ EdkLog.log(EdkLog.EDK_VERBOSE, "EfiRom succeeded!");\r
}\r
} catch (Exception e) {\r
throw new BuildException(e.getMessage());\r
} finally {\r
if (exitCode != 0) {\r
- //throw new BuildException("GenFvImage: failed to generate FV file!");\r
+ throw new BuildException("EfiRom failed!");\r
}\r
}\r
}\r