From: aclement Date: Mon, 9 Nov 2009 19:32:59 +0000 (+0000) Subject: timers and improved signature pattern matching X-Git-Tag: V1_6_7~112 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9fd80a0a78acda7359967bff7c4fa9b932d246d5;p=aspectj.git timers and improved signature pattern matching --- 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; }