]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/ModifyInfTask.java
moved exception and logger classes to org.tianocore.common package
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / ModifyInfTask.java
index 7e67fdabc865d25ced839ce05c9b8bbd0b93c320..a65b4b82cfe65cc72228532e9bc76ba24c25317e 100644 (file)
@@ -2,14 +2,14 @@
  ModifyInfTask class.\r
 \r
  ModifyInfTask is used to call Modify.exe to generate inf file.\r
\r
\r
+\r
+\r
  Copyright (c) 2006, Intel Corporation\r
  All rights reserved. This program and the accompanying materials\r
  are licensed and made available under the terms and conditions of the BSD License\r
  which accompanies this distribution.  The full text of the license may be found at\r
  http://opensource.org/licenses/bsd-license.php\r
\r
+\r
  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
@@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.taskdefs.Execute;\r
 import org.apache.tools.ant.taskdefs.LogStreamHandler;\r
 import org.apache.tools.ant.types.Commandline;\r
-import org.tianocore.logger.EdkLog;\r
+\r
+import org.tianocore.common.logger.EdkLog;\r
 \r
 /**\r
   ModifyInfTask class.\r
@@ -36,7 +37,7 @@ public class ModifyInfTask extends Task implements EfiDefine {
     /// tool name\r
     ///\r
     private String toolName = "ModifyInf";\r
-    \r
+\r
     ///\r
     /// input FV inf file\r
     ///\r
@@ -54,15 +55,15 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
        ///\r
        ///  Output dir\r
-       /// \r
+       ///\r
        private String outputDir = "";\r
-   \r
+\r
     /**\r
      * execute\r
-     * \r
+     *\r
      * ModifyInfTask execute function is to assemble tool command line & execute\r
      * tool command line\r
-     * \r
+     *\r
      * @throws BuidException\r
      */\r
     public void execute() throws BuildException {\r
@@ -91,12 +92,12 @@ public class ModifyInfTask extends Task implements EfiDefine {
                File file = new File(outputFVInfFileName);\r
         if (!file.isAbsolute() && (!this.outputDir.equalsIgnoreCase(""))) {\r
                        argument = this.inputFVInfFileName +\r
-                                      this.outputDir + \r
+                                      this.outputDir +\r
                                           File.separatorChar +\r
                                           this.outputFVInfFileName +\r
                                           this.patternStr;\r
                } else {\r
-                       argument = this.inputFVInfFileName + \r
+                       argument = this.inputFVInfFileName +\r
                                       this.outputFVInfFileName +\r
                                       this.patternStr;\r
                }\r
@@ -142,9 +143,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
     /**\r
      * getinputFVInfFileName\r
-     * \r
+     *\r
      * This function is to get class member "inputFVInfFileName".\r
-     * \r
+     *\r
      * @return string of input inf file name.\r
      */\r
     public String getinputFVInfFileName() {\r
@@ -153,9 +154,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
     /**\r
      * setinputFVInfFileName\r
-     * \r
+     *\r
      * This function is to set class member "inputFVInfFileName".\r
-     * \r
+     *\r
      * @param inputFile\r
      *            string of input inf file name.\r
      */\r
@@ -165,9 +166,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
     /**\r
      * getoutputFVInfFileName\r
-     * \r
+     *\r
      * This function is to get class member "outputFVInfFileName"\r
-     * \r
+     *\r
      * @return outputFVInfFileName string of output inf file name.\r
      */\r
     public String getoutputFVInfFileName() {\r
@@ -176,9 +177,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
     /**\r
      * setoutputFVInfFileName\r
-     * \r
+     *\r
      * This function is to set class member "outputFVInfFileName"\r
-     * \r
+     *\r
      * @param outputFVInfFileName\r
      *            string of output  inf file name.\r
      */\r
@@ -188,9 +189,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
     /**\r
      * getpatternStr\r
-     * \r
+     *\r
      * This function is to get class member "patternStr"\r
-     * \r
+     *\r
      * @return patternStr string of pattern.\r
      */\r
     public String getpatternStr() {\r
@@ -199,9 +200,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
     /**\r
      * setpatternStr\r
-     * \r
+     *\r
      * This function is to set class member "patternStr"\r
-     * \r
+     *\r
      * @param patternStr\r
      *            string of patternStr.\r
      */\r
@@ -211,9 +212,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
        /**\r
      * getoutputDir\r
-     * \r
+     *\r
      * This function is to get class member "outputDir"\r
-     * \r
+     *\r
      * @return outputDir string of output directory.\r
      */\r
     public String getoutputDir() {\r
@@ -222,9 +223,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
 \r
     /**\r
      * setoutputDir\r
-     * \r
+     *\r
      * This function is to set class member "outputDir"\r
-     * \r
+     *\r
      * @param patternStr\r
      *            string of output directory.\r
      */\r