libGenAutogenH();\r
} catch (Exception e) {\r
throw new BuildException(\r
- "Faile to create library AutoGen.c & AutoGen.h!\n"\r
+ "Failed to create library AutoGen.c & AutoGen.h!\n"\r
+ e.getMessage());\r
}\r
}\r
libClassList[i]);\r
if (includerName == null) {\r
throw new AutoGenException("Can not find library class ["\r
- + libClassList[i] + "] declaration in every packages. ");\r
+ + libClassList[i] + "] declaration in any SPD package. ");\r
}\r
for (int j = 0; j < includerName.length; j++) {\r
String includeNameStr = includerName[j];\r
if (pkgHeader == null) {\r
throw new AutoGenException("Can not find package ["\r
+ packageNameList[i]\r
- + "] declaration in every packages. ");\r
+ + "] declaration in any SPD package. ");\r
} else if (!pkgHeader.equalsIgnoreCase("")) {\r
includeStr = CommonDefinition.include + " <" + pkgHeader\r
+ ">\r\n";\r
case CommonDefinition.ModuleTypePeiCore:\r
if (entryPointList == null ||entryPointList.length != 1 ) {\r
throw new BuildException(\r
- "Module type = 'PEI_CORE', only have one module entry point!");\r
+ "Module type = 'PEI_CORE', can have only one module entry point!");\r
} else {\r
fileBuffer.append("EFI_STATUS\r\n");\r
fileBuffer.append("EFIAPI\r\n");\r
fileBuffer.append("const UINT32 _gUefiDriverRevision = 0;\r\n");\r
if (entryPointList == null || entryPointList.length != 1) {\r
throw new BuildException(\r
- "Module type = 'DXE_CORE', only have one module entry point!");\r
+ "Module type = 'DXE_CORE', can have only one module entry point!");\r
} else {\r
\r
fileBuffer.append("VOID\r\n");\r
// If can't find Ppi GUID declaration in every package\r
//\r
throw new AutoGenException("Can not find Ppi GUID ["\r
- + ppiKeyWord + "] declaration in every packages. ");\r
+ + ppiKeyWord + "] declaration in any SPD package!");\r
}\r
}\r
}\r
// If can't find protocol GUID declaration in every package\r
//\r
throw new BuildException("Can not find protocol Guid ["\r
- + protocolKeyWord + "] declaration in every packages. ");\r
+ + protocolKeyWord + "] declaration in any SPD package!");\r
}\r
}\r
}\r
// If can't find GUID declaration in every package\r
//\r
throw new AutoGenException("Can not find Guid [" + guidKeyWord\r
- + "] declaration in every packages. ");\r
+ + "] declaration in any SPD package. ");\r
}\r
\r
}\r
fileBuffer.append(" (ImageHandle, SystemTable);\r\n");\r
break;\r
default:\r
- EdkLog.log(EdkLog.EDK_INFO,"Autogen don't know how to deal with module type -"+ moduleType + " !");\r
+ EdkLog.log(EdkLog.EDK_INFO,"Autogen doesn't know how to deal with module type - " + moduleType + "!");\r
}\r
fileBuffer.append(" ASSERT_EFI_ERROR (Status);\r\n");\r
}\r
fis.close();\r
fos.close();\r
}else {\r
- throw new AutoGenException("The flashMap.h file don't exist!!");\r
+ throw new AutoGenException("The file, flashMap.h doesn't exist!");\r
}\r
} catch (Exception e){\r
throw new AutoGenException(e.getMessage());\r