Modify ModifyInf task's attributes from "inputfvinffilename" to "inputfvinffile"...
authorqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Aug 2006 03:34:39 +0000 (03:34 +0000)
committerqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Aug 2006 03:34:39 +0000 (03:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1345 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/ModifyInfTask.java

index a65b4b82cfe65cc72228532e9bc76ba24c25317e..7309d77903403b8339fbc6e9c8d1bdf44acd8d34 100644 (file)
@@ -41,12 +41,12 @@ public class ModifyInfTask extends Task implements EfiDefine {
     ///\r
     /// input FV inf file\r
     ///\r
-    private String inputFVInfFileName = "";\r
+    private String inputFVInfFile = "";\r
 \r
     ///\r
     /// output FV inf file\r
     ///\r
-    private String outputFVInfFileName = "";\r
+    private String outputFVInfFile = "";\r
 \r
     ///\r
     /// pattern string\r
@@ -89,16 +89,16 @@ public class ModifyInfTask extends Task implements EfiDefine {
         //\r
         // argument of tools\r
         //\r
-               File file = new File(outputFVInfFileName);\r
+               File file = new File(outputFVInfFile);\r
         if (!file.isAbsolute() && (!this.outputDir.equalsIgnoreCase(""))) {\r
-                       argument = this.inputFVInfFileName +\r
+                       argument = this.inputFVInfFile +\r
                                       this.outputDir +\r
                                           File.separatorChar +\r
-                                          this.outputFVInfFileName +\r
+                                          this.outputFVInfFile +\r
                                           this.patternStr;\r
                } else {\r
-                       argument = this.inputFVInfFileName +\r
-                                      this.outputFVInfFileName +\r
+                       argument = this.inputFVInfFile +\r
+                                      this.outputFVInfFile +\r
                                       this.patternStr;\r
                }\r
         //\r
@@ -121,7 +121,7 @@ public class ModifyInfTask extends Task implements EfiDefine {
             // Set debug log information.\r
             //\r
             EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));\r
-            EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFVInfFileName)).getName());\r
+            EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFVInfFile)).getName());\r
             revl = runner.execute();\r
 \r
             if (EFI_SUCCESS == revl) {\r
@@ -142,49 +142,49 @@ public class ModifyInfTask extends Task implements EfiDefine {
     }\r
 \r
     /**\r
-     * getinputFVInfFileName\r
+     * getinputFVInfFile\r
      *\r
-     * This function is to get class member "inputFVInfFileName".\r
+     * This function is to get class member "inputFVInfFile".\r
      *\r
      * @return string of input inf file name.\r
      */\r
-    public String getinputFVInfFileName() {\r
-        return this.inputFVInfFileName;\r
+    public String getinputFVInfFile() {\r
+        return this.inputFVInfFile;\r
     }\r
 \r
     /**\r
-     * setinputFVInfFileName\r
+     * setinputFVInfFile\r
      *\r
-     * This function is to set class member "inputFVInfFileName".\r
+     * This function is to set class member "inputFVInfFile".\r
      *\r
      * @param inputFile\r
      *            string of input inf file name.\r
      */\r
-    public void setinputFVInfFileName(String inputFVInfFileName) {\r
-        this.inputFVInfFileName = inputFVInfFileName + " ";\r
+    public void setinputFVInfFile(String inputFVInfFileName) {\r
+        this.inputFVInfFile= inputFVInfFileName + " ";\r
     }\r
 \r
     /**\r
-     * getoutputFVInfFileName\r
+     * getoutputFVInfFile\r
      *\r
-     * This function is to get class member "outputFVInfFileName"\r
+     * This function is to get class member "outputFVInfFile"\r
      *\r
-     * @return outputFVInfFileName string of output inf file name.\r
+     * @return outputFVInfFile string of output inf file name.\r
      */\r
-    public String getoutputFVInfFileName() {\r
-        return this.outputFVInfFileName;\r
+    public String getoutputFVInfFile() {\r
+        return this.outputFVInfFile;\r
     }\r
 \r
     /**\r
-     * setoutputFVInfFileName\r
+     * setoutputFVInfFile\r
      *\r
-     * This function is to set class member "outputFVInfFileName"\r
+     * This function is to set class member "outputFVInfFile"\r
      *\r
-     * @param outputFVInfFileName\r
+     * @param outputFVInfFile\r
      *            string of output  inf file name.\r
      */\r
-    public void setoutputFVInfFileName(String outputFVInfFileName) {\r
-        this.outputFVInfFileName = outputFVInfFileName  + " ";\r
+    public void setoutputFVInfFile(String outputFVInfFileName) {\r
+        this.outputFVInfFile = outputFVInfFileName  + " ";\r
     }\r
 \r
     /**\r