X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FFrameworkTasks%2Forg%2Ftianocore%2Fframework%2Ftasks%2FStrGatherTask.java;h=ed8ef2dc8c17d80cc566e51b9a2d3b09f6398d20;hp=c136f15511f9ed004b732dfa1b0b0b071b6f4525;hb=219e2247478e46f81b744252b13cd1df01a76756;hpb=dc13f95d78df4b9dadfdc49c56dee81789a6ac81 diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/StrGatherTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/StrGatherTask.java index c136f15511..ed8ef2dc8c 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/StrGatherTask.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/StrGatherTask.java @@ -108,7 +108,7 @@ public class StrGatherTask extends Task implements EfiDefine { /// /// absolute path of efi tools /// - String path = project.getProperty("env.Framework_Tools_Path"); + String path = project.getProperty("env.FRAMEWORK_TOOLS_PATH"); String command; if (path == null) { command = "StrGather"; @@ -148,22 +148,18 @@ public class StrGatherTask extends Task implements EfiDefine { runner.setAntRun(project); runner.setCommandline(cmdline.getCommandline()); - System.out.println(Commandline.toString(cmdline.getCommandline())); + log(Commandline.toString(cmdline.getCommandline()), Project.MSG_VERBOSE); + log(this.commandType.substring(2)); revl = runner.execute(); if (EFI_SUCCESS == revl) { - /// - /// command execution success - /// - System.out.println("strgather succeeded!"); + log("strgather succeeded!", Project.MSG_VERBOSE); } else { /// /// command execution fail /// - System.out.println("strgather failed. (error=" - + Integer.toHexString(revl) + ")"); - throw new BuildException("strgather failed. (error=" - + Integer.toHexString(revl) + ")"); + log("ERROR = " + Integer.toHexString(revl)); + throw new BuildException("strgather failed!"); } } catch (Exception e) { throw new BuildException(e.getMessage());