aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs
diff options
context:
space:
mode:
authoraclement <aclement>2008-05-13 23:03:02 +0000
committeraclement <aclement>2008-05-13 23:03:02 +0000
commitc398f4592708d48860e86905a2b980d419043fe1 (patch)
treee2a3ea8c41a8b1efd6b1755931aa0ac106d048eb /taskdefs
parent71fa6407d3fcd3e4aa4c2d938694d4e76c668bf0 (diff)
downloadaspectj-c398f4592708d48860e86905a2b980d419043fe1.tar.gz
aspectj-c398f4592708d48860e86905a2b980d419043fe1.zip
231963: implementation, allow -checkRuntimeVersion:true or false
Diffstat (limited to 'taskdefs')
-rw-r--r--taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
index 7419b562b..794335ae3 100644
--- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
+++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
@@ -544,6 +544,10 @@ public class AjcTask extends MatchingTask {
public void setXJoinpoints(String optionalJoinpoints) {
cmd.addFlag("-Xjoinpoints:"+optionalJoinpoints,true);
}
+
+ public void setCheckRuntimeVersion(boolean b) {
+ cmd.addFlag("-checkRuntimeVersion:"+b,true);
+ }
public void setXNoWeave(boolean b) {
if (logger!=null) logger.warning("the noweave option is no longer required and is being ignored");