]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/GenBuild/org/tianocore/build/global/OutputManager.java
- Fixed EDKT146; The override warning message has been reduced to almost none.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / global / OutputManager.java
index 3c146f0246b6f50c867b29d4016ddce03f75824f..5022f932bf59ad97f74a93c8127af5a3647cc235 100644 (file)
@@ -16,6 +16,7 @@ package org.tianocore.build.global;
 \r
 import org.apache.tools.ant.Project;\r
 import java.io.File;\r
+import org.tianocore.build.global.PropertyManager;\r
 \r
 /**\r
   OutputManager class is used to setup output directories (BIN_DIR, DEST_DIR_OUTPUT, \r
@@ -143,11 +144,11 @@ public class OutputManager {
         //\r
         // Set properties\r
         //\r
-        project.setProperty("BUILD_DIR", buildDir.replaceAll("(\\\\)", "/"));\r
-        project.setProperty("FV_DIR", fvDir.replaceAll("(\\\\)", "/"));\r
-        project.setProperty("BIN_DIR", binDir.replaceAll("(\\\\)", "/"));\r
-        project.setProperty("DEST_DIR_DEBUG", (destDir + File.separatorChar + "DEBUG").replaceAll("(\\\\)", "/"));\r
-        project.setProperty("DEST_DIR_OUTPUT", (destDir + File.separatorChar + "OUTPUT").replaceAll("(\\\\)", "/"));\r
+        PropertyManager.setProperty(project, "BUILD_DIR", buildDir.replaceAll("(\\\\)", "/"));\r
+        PropertyManager.setProperty(project, "FV_DIR", fvDir.replaceAll("(\\\\)", "/"));\r
+        PropertyManager.setProperty(project, "BIN_DIR", binDir.replaceAll("(\\\\)", "/"));\r
+        PropertyManager.setProperty(project, "DEST_DIR_DEBUG", (destDir + File.separatorChar + "DEBUG").replaceAll("(\\\\)", "/"));\r
+        PropertyManager.setProperty(project, "DEST_DIR_OUTPUT", (destDir + File.separatorChar + "OUTPUT").replaceAll("(\\\\)", "/"));\r
         \r
         //\r
         // Create all directory if necessary\r
@@ -186,7 +187,7 @@ public class OutputManager {
         //\r
         // Set to property\r
         //\r
-        project.setProperty("BUILD_DIR", buildDir.replaceAll("(\\\\)", "/"));\r
+        PropertyManager.setProperty(project, "BUILD_DIR", buildDir.replaceAll("(\\\\)", "/"));\r
         \r
         //\r
         // Create all directory if necessary\r