Browse Source

little code cleanup and remove trace line.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273935 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 22 years ago
parent
commit
8e5f6ab828
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java

+ 1
- 5
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java View File

@@ -225,9 +225,7 @@ public class Ilasm
public void setTargetType(String targetType)
throws BuildException {
this.targetType = targetType.toLowerCase();
if (targetType.equals("exe") || targetType.equals("library")) {
targetType = targetType;
} else {
if (!targetType.equals("exe") && !targetType.equals("library")) {
throw new BuildException("targetType " + targetType + " is not a valid type");
}
}
@@ -519,8 +517,6 @@ public class Ilasm
throws BuildException {
NetCommand command = new NetCommand(this, exe_title, exe_name);
command.setFailOnError(getFailFailOnError());
//DEBUG helper
command.setTraceCommandLine(true);
//fill in args
command.addArgument(getDebugParameter());
command.addArgument(getTargetTypeParameter());


Loading…
Cancel
Save