From c398f4592708d48860e86905a2b980d419043fe1 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 13 May 2008 23:03:02 +0000 Subject: [PATCH] 231963: implementation, allow -checkRuntimeVersion:true or false --- taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- 2.39.5