]> source.dussan.org Git - aspectj.git/commitdiff
Fix for Bugzilla Bug 73433
authoraclement <aclement>
Wed, 8 Sep 2004 10:14:44 +0000 (10:14 +0000)
committeraclement <aclement>
Wed, 8 Sep 2004 10:14:44 +0000 (10:14 +0000)
   AspectJ does not correctly support -cp

org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java

index 7d11c3f16be1b50f377a232d4151e6946c3fd128..837bbf52d2d082eb1e935a31439af85388ac374a 100644 (file)
@@ -567,7 +567,7 @@ public class BuildArgParser extends Main {
                                } else {
                                        showError("-bootclasspath requires classpath entries");
                                }
-                       } else if (arg.equals("-classpath")) {
+                       } else if (arg.equals("-classpath") || arg.equals("-cp")) {
                                if (args.size() > nextArgIndex) {
                                        String cpArg = ((ConfigParser.Arg)args.get(nextArgIndex)).getValue();
                                        StringBuffer cp = new StringBuffer();