]> source.dussan.org Git - aspectj.git/commitdiff
231963: implementation, allow -checkRuntimeVersion:true or false
authoraclement <aclement>
Tue, 13 May 2008 23:03:02 +0000 (23:03 +0000)
committeraclement <aclement>
Tue, 13 May 2008 23:03:02 +0000 (23:03 +0000)
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java

index 7419b562b81a6f4ef6d20869df3af67f9e1a067a..794335ae35059bbccf443753655ec162a18c5ffc 100644 (file)
@@ -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");