From 99882cb91a94c468c185cf11cd6a728604e95bdb Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 26 Apr 2006 07:25:49 +0000 Subject: [PATCH] rons patch for 138540 --- taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5