aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs
diff options
context:
space:
mode:
authoraclement <aclement>2006-04-26 07:25:49 +0000
committeraclement <aclement>2006-04-26 07:25:49 +0000
commit99882cb91a94c468c185cf11cd6a728604e95bdb (patch)
tree9c3496c665ad2d4ec0413ff54bab5cba27db793d /taskdefs
parent0892513ca2613709de6460b35bd1b3b3b2bd6d5c (diff)
downloadaspectj-99882cb91a94c468c185cf11cd6a728604e95bdb.tar.gz
aspectj-99882cb91a94c468c185cf11cd6a728604e95bdb.zip
rons patch for 138540
Diffstat (limited to 'taskdefs')
-rw-r--r--taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java3
1 files changed, 2 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 47b9ca66f..86434732f 100644
--- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
+++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
@@ -784,7 +784,8 @@ public class AjcTask extends MatchingTask {
while (tokens.hasMoreTokens()) {
String token = tokens.nextToken().trim();
if (1 < token.length()) {
- if (VALID_XOPTIONS.contains(token)) {
+ // new special case: allow -Xset:anything
+ if (VALID_XOPTIONS.contains(token) || token.indexOf("set:")==0) {
cmd.addFlag("-X" + token, true);
} else {
ignore("-X" + token);