From: aclement Date: Tue, 13 May 2008 23:03:02 +0000 (+0000) Subject: 231963: implementation, allow -checkRuntimeVersion:true or false X-Git-Tag: V1_6_1x~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c398f4592708d48860e86905a2b980d419043fe1;p=aspectj.git 231963: implementation, allow -checkRuntimeVersion:true or false --- 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");