]> source.dussan.org Git - aspectj.git/commitdiff
[apt] revert ignoring -proc:none
authorhsestupin <stupin.sergey@gmail.com>
Wed, 2 Jul 2014 12:07:21 +0000 (16:07 +0400)
committerhsestupin <stupin.sergey@gmail.com>
Fri, 1 Aug 2014 17:25:02 +0000 (20:25 +0300)
Signed-off-by: hsestupin <stupin.sergey@gmail.com>
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java

index 79c69830901612533fcca428a562d64ca61960eb..d1529859c555c8a018a8638dd4af18b43484012e 100644 (file)
@@ -694,17 +694,6 @@ public class BuildArgParser extends Main {
                                addPairToUnparsed(args, arg, nextArgIndex, "-s requires directory");
                        } else if (arg.equals("-classNames")) { // -classNames <className1[,className2,...]>
                                addPairToUnparsed(args, arg, nextArgIndex, "-classNames requires list of classes");
-                       } else
-                       // if you want to run ajc compiler in Intellij Idea you have to add jvm arg "-XXproc:ignore" for getting atp to work
-                       if (arg.equals("-XXproc:ignore")) { // TODO(yshkvoskiy): remove it when IDEA will support correct 'proc' parameters
-                               for (final Iterator<Arg> i = args.iterator(); i.hasNext(); ) {
-                                       if (i.next().getValue().startsWith("-proc:"))
-                                               i.remove();
-                               }
-                               for (final Iterator<String> i = unparsedArgs.iterator(); i.hasNext(); ) {
-                                       if (i.next().startsWith("-proc:"))
-                                               i.remove();
-                               }
                        } else if (new File(arg).isDirectory()) {
                                showError("dir arg not permitted: " + arg);
                        } else if (arg.startsWith("-Xajruntimetarget")) {