]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
Fixed grammar in messages.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / autogen / AutoGen.java
index 2d7bb0901cc036c5e37df32644878c4439f83d37..0704bf44119b1bec734773634e8d9b1f923f1037 100644 (file)
@@ -243,7 +243,7 @@ public class AutoGen {
                        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
@@ -672,7 +672,7 @@ public class AutoGen {
                                        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
@@ -714,7 +714,7 @@ public class AutoGen {
                        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
@@ -751,7 +751,7 @@ public class AutoGen {
                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
@@ -783,7 +783,7 @@ public class AutoGen {
                        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
@@ -1231,7 +1231,7 @@ public class AutoGen {
                                // 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
@@ -1288,7 +1288,7 @@ public class AutoGen {
                                // 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
@@ -1331,7 +1331,7 @@ public class AutoGen {
                                // 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
@@ -1499,7 +1499,7 @@ public class AutoGen {
                                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
@@ -1985,7 +1985,7 @@ public class AutoGen {
                     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