public void execute() throws BuildException {\r
\r
Project project = this.getOwningTarget().getProject();\r
- //\r
- // set Logger\r
- //\r
- FrameworkLogger logger = new FrameworkLogger(project, "efirom");\r
- EdkLog.setLogLevel(project.getProperty("env.LOGLEVEL"));\r
- EdkLog.setLogger(logger);\r
+\r
//\r
// absolute path of efi tools\r
//\r
argList.add("-b");\r
Iterator binList = this.binaryFileList.iterator();\r
while (binList.hasNext()){\r
- argList.add(((Input)binList.next()).getFile());\r
+ argList.addAll(((Input)binList.next()).getNameList());\r
}\r
}\r
\r
argList.add("-e");\r
Iterator pe32List = this.pe32FileList.iterator();\r
while (pe32List.hasNext()){\r
- argList.add(((Input)pe32List.next()).getFile());\r
+ argList.addAll(((Input)pe32List.next()).getNameList());\r
}\r
}\r
\r
argList.add("-ec");\r
Iterator pe32ComprList = this.pe32ComprFileList.iterator();\r
while (pe32ComprList.hasNext()){\r
- argList.add(((Input)pe32ComprList.next()).getFile());\r
+ argList.addAll(((Input)pe32ComprList.next()).getNameList());\r
}\r
}\r
\r
- EdkLog.log(EdkLog.EDK_VERBOSE, argList.toString().replaceAll(",",""));\r
- EdkLog.log(EdkLog.EDK_INFO, " ");\r
+ EdkLog.log(this, EdkLog.EDK_VERBOSE, argList.toString().replaceAll(",",""));\r
+ EdkLog.log(this, EdkLog.EDK_INFO, " ");\r
\r
//\r
// lauch the program\r