From de31f858429a8688c98616b8631de6c780586aed Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 11 May 2005 08:08:26 +0000 Subject: [PATCH] Add loadtime into the classpath so it can find the message handler. --- org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java | 2 ++ .../testsrc/org/aspectj/tools/ajc/AjcTestCase.java | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 ad654f8e3..edfb056f1 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 @@ -61,6 +61,8 @@ public class Ajc { // but I don't want to have it first to avoid side effects when running from Ant. + File.pathSeparator + ".." + File.separator + "_IDE" + File.pathSeparator+ ".."+File.separator+"lib"+File.separator+"junit"+File.separator+"junit.jar" + + File.pathSeparator+ ".."+File.separator+"bridge"+File.separator+"bin" + + File.pathSeparator+ ".."+File.separator+"loadtime"+File.separator+"bin" ; private CompilationResult result; private File sandbox; diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java index a3311ef1b..0d41d06c0 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java @@ -89,7 +89,9 @@ public class AjcTestCase extends TestCase { // "ant compile" to rebuild "aspect5rt/bin" will not expose the IDE changes... // but I don't want to have it first to avoid side effects when running from Ant. File.pathSeparator + ".." + File.separator + "_IDE" + - File.pathSeparator+ ".."+File.separator+"lib"+File.separator+"junit"+File.separator+"junit.jar"; + File.pathSeparator+ ".."+File.separator+"lib"+File.separator+"junit"+File.separator+"junit.jar" + + File.pathSeparator+ ".."+File.separator+"loadtime"+File.separator+"bin" + ; /** * Helper class that represents the specification of an individual -- 2.39.5