aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/src
diff options
context:
space:
mode:
authoraclement <aclement>2004-02-24 13:43:56 +0000
committeraclement <aclement>2004-02-24 13:43:56 +0000
commit16a0abd70e5fe2538c32994de05f52b6bf939ef5 (patch)
tree3a8ca19141c2a3f15663c4f721b2397529af1e43 /taskdefs/src
parent36f8e3c561a721243f8e9e6c0cfb71547249e300 (diff)
downloadaspectj-16a0abd70e5fe2538c32994de05f52b6bf939ef5.tar.gz
aspectj-16a0abd70e5fe2538c32994de05f52b6bf939ef5.zip
Fix for Bug 36430: Xreweavable support
Diffstat (limited to 'taskdefs/src')
-rw-r--r--taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java6
1 files changed, 6 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 0bf34a24e..10f7c42dc 100644
--- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
+++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
@@ -454,6 +454,10 @@ public class AjcTask extends MatchingTask {
public void setXNoweave(boolean noweave) {
cmd.addFlag("-XnoWeave", noweave);
}
+
+ public void setXReweavable(boolean reweavable) {
+ cmd.addFlag("-Xreweavable",reweavable);
+ }
public void setNowarn(boolean nowarn) {
cmd.addFlag("-nowarn", nowarn);
@@ -1699,6 +1703,8 @@ public class AjcTask extends MatchingTask {
setXlintfile(new File(in.next()));
} else if ("-Xnoweave".equals(flag)) {
setXNoweave(true);
+ } else if ("-Xreweavable".equals(flag)) {
+ setXReweavable(true);
} else if (flag.startsWith("@")) {
File file = new File(flag.substring(1));
if (file.canRead()) {