diff options
Diffstat (limited to 'taskdefs')
3 files changed, 11 insertions, 11 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java index bd594c369..65e878628 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java @@ -19,9 +19,9 @@ import org.apache.tools.ant.taskdefs.compilers.CompilerAdapter; import org.aspectj.util.FileUtil; import java.io.File; -import java.io.FileFilter; -import java.io.FileWriter; -import java.io.IOException; +//import java.io.FileFilter; +//import java.io.FileWriter; +//import java.io.IOException; /** * Adapt ajc to javac commands. diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc2.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc2.java index 1582b1324..7e7ded5cf 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc2.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc2.java @@ -490,7 +490,7 @@ public class Ajc2 extends Javac { line = line.substring(0, isharp); } - int istar = -1; +// int istar = -1; // Argument if (line.startsWith("-")) { @@ -498,7 +498,7 @@ public class Ajc2 extends Javac { } // If there are stars we'll try to resolve the file here - else if ((istar = line.indexOf("*")) != -1) { + else if (line.indexOf("*") != -1) { log("The argfile line '" + line + "' is invalid", Project.MSG_WARN); } diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java index 798aeba31..0bf34a24e 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -1768,12 +1768,12 @@ public static class GuardedCommand { } } - private void addFile(File file) { - if (null != file) { - String path = file.getAbsolutePath(); - addFlag(path, true); - } - } +// private void addFile(File file) { +// if (null != file) { +// String path = file.getAbsolutePath(); +// addFlag(path, true); +// } +// } List extractArguments() { ArrayList result = new ArrayList(); |