Fixed grammar in messages.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / fpd / PlatformBuildFileGenerator.java
index b7d2881..e6a1002 100644 (file)
@@ -53,10 +53,10 @@ public class PlatformBuildFileGenerator {
     private Project project;\r
     \r
     private String info = "DO NOT EDIT \n" \r
-        + "File auto-generated by build utility\n" \r
+        + "This file is auto-generated by the build utility\n" \r
         + "\n" \r
         + "Abstract:\n"\r
-        + "Auto-generated ANT build file for building of EFI Modules/Platforms\n";\r
+        + "Auto-generated ANT build file for building EFI Modules and Platforms\n";\r
 \r
     public PlatformBuildFileGenerator(Project project, Map<FpdModuleIdentification, String> outfiles, boolean isUnified){\r
         this.project = project;\r
@@ -164,7 +164,7 @@ public class PlatformBuildFileGenerator {
             xformer.setOutputProperty(OutputKeys.INDENT, "yes");\r
             xformer.transform(source, result);\r
         } catch (Exception ex) {\r
-            throw new BuildException("Generate " + platformName + "_build.xml failed. \n" + ex.getMessage());\r
+            throw new BuildException("Generation of the " + platformName + "_build.xml failed!\n" + ex.getMessage());\r
         }\r
     }\r
     \r
@@ -351,7 +351,7 @@ public class PlatformBuildFileGenerator {
         //\r
         // Deep Clean Target\r
         //\r
-        root.appendChild(document.createComment("Clean All target"));\r
+        root.appendChild(document.createComment("Target: cleanall"));\r
         Element ele = document.createElement("target");\r
         ele.setAttribute("name", "cleanall");\r
 \r
@@ -436,7 +436,7 @@ public class PlatformBuildFileGenerator {
         //\r
         // User Extensions\r
         //\r
-        root.appendChild(document.createComment("Pre Build Processing"));\r
+        root.appendChild(document.createComment("Pre-Build Processing"));\r
         Element ele = document.createElement("target");\r
         ele.setAttribute("name", "prebuild");\r
         \r
@@ -480,7 +480,7 @@ public class PlatformBuildFileGenerator {
         //\r
         // User Extensions\r
         //\r
-        root.appendChild(document.createComment("Post Build Processing"));\r
+        root.appendChild(document.createComment("Post-Build Processing"));\r
         Element ele = document.createElement("target");\r
         ele.setAttribute("name", "postbuild");\r
         \r