]> source.dussan.org Git - aspectj.git/commitdiff
rons patch for 138540
authoraclement <aclement>
Wed, 26 Apr 2006 07:25:49 +0000 (07:25 +0000)
committeraclement <aclement>
Wed, 26 Apr 2006 07:25:49 +0000 (07:25 +0000)
taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java

index 47b9ca66f961e90325cd743ec786a575546789ab..86434732faf4e180c180dccf02de1dd5f6651a04 100644 (file)
@@ -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);