String path = project.getProperty("env.FRAMEWORK_TOOLS_PATH"); \r
String command;\r
if (path == null) {\r
- command = "gencrc32section";\r
+ command = "GenCRC32Section";\r
} else {\r
- command = path + "/" + "gencrc32section" ;\r
+ command = path + "/" + "GenCRC32Section" ;\r
}\r
// \r
// string line of input files \r
\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(" ");\r
revl = runner.execute();\r
if (EFI_SUCCESS == revl){\r
//\r
// command execution success \r
//\r
- System.out.println("gencrc32section succeeded!");\r
- }\r
- else\r
- {\r
+ log("GenCRC32Section succeeded!", Project.MSG_VERBOSE);\r
+ } else {\r
// \r
// command execution fail\r
//\r
- System.out.println("gencrc32section failed. (error=" + \r
- Integer.toHexString(revl) + \r
- ")"\r
- );\r
+ log("ERROR = " + Integer.toHexString(revl));\r
+// LAH Added This Line\r
+ throw new BuildException("GenCRC32Section failed!");\r
}\r
} catch (Exception e) {\r
throw new BuildException(e.getMessage());\r
- }\r
- \r
+ } \r
}\r
\r
/**\r