Modify ModifyInf task's attributes from "inputfvinffilename" to "inputfvinffile", from "outputfvinffilename" to "outputfvinffile".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1345 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4ae9cbc7c2
commit
23c2f30c5e
|
@ -41,12 +41,12 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||||
///
|
///
|
||||||
/// input FV inf file
|
/// input FV inf file
|
||||||
///
|
///
|
||||||
private String inputFVInfFileName = "";
|
private String inputFVInfFile = "";
|
||||||
|
|
||||||
///
|
///
|
||||||
/// output FV inf file
|
/// output FV inf file
|
||||||
///
|
///
|
||||||
private String outputFVInfFileName = "";
|
private String outputFVInfFile = "";
|
||||||
|
|
||||||
///
|
///
|
||||||
/// pattern string
|
/// pattern string
|
||||||
|
@ -89,16 +89,16 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||||
//
|
//
|
||||||
// argument of tools
|
// argument of tools
|
||||||
//
|
//
|
||||||
File file = new File(outputFVInfFileName);
|
File file = new File(outputFVInfFile);
|
||||||
if (!file.isAbsolute() && (!this.outputDir.equalsIgnoreCase(""))) {
|
if (!file.isAbsolute() && (!this.outputDir.equalsIgnoreCase(""))) {
|
||||||
argument = this.inputFVInfFileName +
|
argument = this.inputFVInfFile +
|
||||||
this.outputDir +
|
this.outputDir +
|
||||||
File.separatorChar +
|
File.separatorChar +
|
||||||
this.outputFVInfFileName +
|
this.outputFVInfFile +
|
||||||
this.patternStr;
|
this.patternStr;
|
||||||
} else {
|
} else {
|
||||||
argument = this.inputFVInfFileName +
|
argument = this.inputFVInfFile +
|
||||||
this.outputFVInfFileName +
|
this.outputFVInfFile +
|
||||||
this.patternStr;
|
this.patternStr;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
@ -121,7 +121,7 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||||
// Set debug log information.
|
// Set debug log information.
|
||||||
//
|
//
|
||||||
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
||||||
EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFVInfFileName)).getName());
|
EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFVInfFile)).getName());
|
||||||
revl = runner.execute();
|
revl = runner.execute();
|
||||||
|
|
||||||
if (EFI_SUCCESS == revl) {
|
if (EFI_SUCCESS == revl) {
|
||||||
|
@ -142,49 +142,49 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getinputFVInfFileName
|
* getinputFVInfFile
|
||||||
*
|
*
|
||||||
* This function is to get class member "inputFVInfFileName".
|
* This function is to get class member "inputFVInfFile".
|
||||||
*
|
*
|
||||||
* @return string of input inf file name.
|
* @return string of input inf file name.
|
||||||
*/
|
*/
|
||||||
public String getinputFVInfFileName() {
|
public String getinputFVInfFile() {
|
||||||
return this.inputFVInfFileName;
|
return this.inputFVInfFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setinputFVInfFileName
|
* setinputFVInfFile
|
||||||
*
|
*
|
||||||
* This function is to set class member "inputFVInfFileName".
|
* This function is to set class member "inputFVInfFile".
|
||||||
*
|
*
|
||||||
* @param inputFile
|
* @param inputFile
|
||||||
* string of input inf file name.
|
* string of input inf file name.
|
||||||
*/
|
*/
|
||||||
public void setinputFVInfFileName(String inputFVInfFileName) {
|
public void setinputFVInfFile(String inputFVInfFileName) {
|
||||||
this.inputFVInfFileName = inputFVInfFileName + " ";
|
this.inputFVInfFile= inputFVInfFileName + " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getoutputFVInfFileName
|
* getoutputFVInfFile
|
||||||
*
|
*
|
||||||
* This function is to get class member "outputFVInfFileName"
|
* This function is to get class member "outputFVInfFile"
|
||||||
*
|
*
|
||||||
* @return outputFVInfFileName string of output inf file name.
|
* @return outputFVInfFile string of output inf file name.
|
||||||
*/
|
*/
|
||||||
public String getoutputFVInfFileName() {
|
public String getoutputFVInfFile() {
|
||||||
return this.outputFVInfFileName;
|
return this.outputFVInfFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setoutputFVInfFileName
|
* setoutputFVInfFile
|
||||||
*
|
*
|
||||||
* This function is to set class member "outputFVInfFileName"
|
* This function is to set class member "outputFVInfFile"
|
||||||
*
|
*
|
||||||
* @param outputFVInfFileName
|
* @param outputFVInfFile
|
||||||
* string of output inf file name.
|
* string of output inf file name.
|
||||||
*/
|
*/
|
||||||
public void setoutputFVInfFileName(String outputFVInfFileName) {
|
public void setoutputFVInfFile(String outputFVInfFileName) {
|
||||||
this.outputFVInfFileName = outputFVInfFileName + " ";
|
this.outputFVInfFile = outputFVInfFileName + " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue