diff options
author | Andy Clement <aclement@gopivotal.com> | 2014-08-05 14:34:07 -0700 |
---|---|---|
committer | Andy Clement <aclement@gopivotal.com> | 2014-08-05 14:34:07 -0700 |
commit | dbcd8691f40e29a49f15465716e137d439d2268b (patch) | |
tree | 83420e36955f284af806a1c3812300153f21ac41 /org.aspectj.ajdt.core/testsrc | |
parent | cd74697aa7273537f92414e8266b001699ccaa0a (diff) | |
download | aspectj-dbcd8691f40e29a49f15465716e137d439d2268b.tar.gz aspectj-dbcd8691f40e29a49f15465716e137d439d2268b.zip |
Tidy up post APT changes
Diffstat (limited to 'org.aspectj.ajdt.core/testsrc')
-rw-r--r-- | org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java | 4 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java index c230b9fae..1693178e3 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java @@ -99,21 +99,17 @@ public class AjStateTest extends TestCase { super.setUp(); aRightState = new AjState(null); final BuildArgParser parser = new BuildArgParser(new IMessageHandler() { - @Override public boolean handleMessage(IMessage message) throws AbortException { return true; } - @Override public boolean isIgnoring(IMessage.Kind kind) { return false; } - @Override public void dontIgnore(IMessage.Kind kind) { } - @Override public void ignore(IMessage.Kind kind) { } }); diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java index 3fa47859b..53b89e3d8 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java @@ -55,8 +55,8 @@ public class Ajc { private static final String TESTER_PATH = ".." + File.separator + "testing-client" + File.separator + "bin" + File.pathSeparator + ".." + File.separator + "runtime" + File.separator + "bin" + File.pathSeparator + ".." + File.separator + "aspectj5rt" + File.separator + "bin" + File.pathSeparator + ".." + File.separator + "lib" - + File.separator + "junit" + File.separator + "junit.jar" + File.pathSeparator + "lib" + File.separator + "bcel" - + File.separator + "bcel.jar" + File.pathSeparator + "lib" + File.separator + "bcel" + File.separator + + File.separator + "junit" + File.separator + "junit.jar" + File.pathSeparator + ".." + File.separator + "lib" + File.separator + "bcel" + + File.separator + "bcel.jar" + File.pathSeparator + ".." + File.separator + "lib" + File.separator + "bcel" + File.separator + "bcel-verifier.jar" + File.pathSeparator + ".." + File.separator + "bridge" + File.separator + "bin" + File.pathSeparator + ".." @@ -289,7 +289,7 @@ public class Ajc { */ public void setBaseDir(File dir) { if ((dir != null) && !dir.isDirectory()) - throw new IllegalArgumentException(dir.getPath() + " is not a directory"); + throw new IllegalArgumentException(dir.getPath() + " is not a directory: "+dir.getAbsolutePath()); baseDir = dir; } |