diff options
author | aclement <aclement> | 2006-05-23 12:14:07 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-23 12:14:07 +0000 |
commit | 917a3a70f5c09f16151200f13eb89283c4bb2abf (patch) | |
tree | 1e5bf00c81efb461fc1c071db70aae7d35615156 /taskdefs | |
parent | 7d99a23266ff26d1be0bd46af8ab7b3951cb9230 (diff) | |
download | aspectj-917a3a70f5c09f16151200f13eb89283c4bb2abf.tar.gz aspectj-917a3a70f5c09f16151200f13eb89283c4bb2abf.zip |
expose -Xjoinpoints: from Ant
Diffstat (limited to 'taskdefs')
-rw-r--r-- | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java index 19b440f55..53d464a2a 100644 --- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -510,6 +510,11 @@ public class AjcTask extends MatchingTask { cmd.addFlag("-Xreweavable",reweavable); } + + public void setXJoinpoints(String optionalJoinpoints) { + cmd.addFlag("-Xjoinpoints:"+optionalJoinpoints,true); + } + public void setXNoWeave(boolean b) { if (logger!=null) logger.warning("the noweave option is no longer required and is being ignored"); } @@ -785,7 +790,8 @@ public class AjcTask extends MatchingTask { String token = tokens.nextToken().trim(); if (1 < token.length()) { // new special case: allow -Xset:anything - if (VALID_XOPTIONS.contains(token) || token.indexOf("set:")==0) { + if (VALID_XOPTIONS.contains(token) || token.indexOf("set:")==0 || + token.indexOf("joinpoints:")==0) { cmd.addFlag("-X" + token, true); } else { ignore("-X" + token); |