diff options
author | aclement <aclement> | 2009-11-09 19:32:59 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-11-09 19:32:59 +0000 |
commit | 9fd80a0a78acda7359967bff7c4fa9b932d246d5 (patch) | |
tree | 629efed51fce96543b69779ba3a14f4f72897b65 /taskdefs | |
parent | 41d9980985b7081e032f5e88eb704dd3f43e874f (diff) | |
download | aspectj-9fd80a0a78acda7359967bff7c4fa9b932d246d5.tar.gz aspectj-9fd80a0a78acda7359967bff7c4fa9b932d246d5.zip |
timers and improved signature pattern matching
Diffstat (limited to 'taskdefs')
-rw-r--r-- | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java index 13c9dec93..3e8e2e867 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -129,7 +129,6 @@ public class AjcTask extends MatchingTask { ajc.setProject(javac.getProject()); ajc.setLocation(javac.getLocation()); ajc.setTaskName("javac-iajc"); - ajc.setDebug(javac.getDebug()); ajc.setDeprecation(javac.getDeprecation()); ajc.setFailonerror(javac.getFailonerror()); @@ -301,6 +300,7 @@ public class AjcTask extends MatchingTask { } // ---------------------------- state and Ant interface thereto private boolean verbose; + private boolean timers; private boolean listFileArgs; private boolean failonerror; private boolean fork; @@ -391,7 +391,7 @@ public class AjcTask extends MatchingTask { adapterArguments = null; adapterFiles = new ArrayList(); argfiles = null; - inxmlfiles= null; + inxmlfiles = null; executing = false; aspectpath = null; bootclasspath = null; @@ -420,6 +420,7 @@ public class AjcTask extends MatchingTask { srcdir = null; tmpOutjar = null; verbose = false; + timers = false; xweaveDir = null; xdoneSignal = null; logCommand = false; @@ -494,13 +495,15 @@ public class AjcTask extends MatchingTask { } public void setXNoWeave(boolean b) { - if (logger != null) + if (logger != null) { logger.warning("the noweave option is no longer required and is being ignored"); + } } public void setNoWeave(boolean b) { - if (logger != null) + if (logger != null) { logger.warning("the noweave option is no longer required and is being ignored"); + } } public void setXNotReweavable(boolean notReweavable) { @@ -601,6 +604,11 @@ public class AjcTask extends MatchingTask { this.verbose = verbose; } + public void setTimers(boolean timers) { + cmd.addFlag("-timers", timers); + this.timers = timers; + } + public void setListFileArgs(boolean listFileArgs) { this.listFileArgs = listFileArgs; } |