aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2004-09-08 10:14:44 +0000
committeraclement <aclement>2004-09-08 10:14:44 +0000
commit8e4d8980e45ba054e7d8e3e5e7ac3aca940d0758 (patch)
tree4487b00589cc9f85d17176696d864e4246f3290e
parenta993e6497d6262141351443a8a23628f5b701650 (diff)
downloadaspectj-8e4d8980e45ba054e7d8e3e5e7ac3aca940d0758.tar.gz
aspectj-8e4d8980e45ba054e7d8e3e5e7ac3aca940d0758.zip
Fix for Bugzilla Bug 73433
AspectJ does not correctly support -cp
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
index 7d11c3f16..837bbf52d 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
@@ -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();