aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/testsrc/org/aspectj/tools
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-24 08:58:19 +0000
committerwisberg <wisberg>2003-05-24 08:58:19 +0000
commitecd16dfcee71621ffdf08369aaedb11a6e5f573f (patch)
treecc7c2639aae099b847cdbf3ef9fb72c444a202bb /taskdefs/testsrc/org/aspectj/tools
parent556537033f794d632baccf560a06414755b58381 (diff)
downloadaspectj-ecd16dfcee71621ffdf08369aaedb11a6e5f573f.tar.gz
aspectj-ecd16dfcee71621ffdf08369aaedb11a6e5f573f.zip
setting classpath for out-of-eclipse testing
Diffstat (limited to 'taskdefs/testsrc/org/aspectj/tools')
-rw-r--r--taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapterTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapterTest.java b/taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapterTest.java
index 0d8ea4dd4..8db60dad3 100644
--- a/taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapterTest.java
+++ b/taskdefs/testsrc/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapterTest.java
@@ -82,7 +82,11 @@ public class Ajc11CompilerAdapterTest extends TestCase {
File classesDir = FileUtil.getTempDir("Ajc11CompilerAdapterTest");
tempFiles.add(classesDir);
javac.setDestdir(classesDir);
- javac.setVerbose(true);
+ javac.setVerbose(LOGGING);
+ String rtpath = "../lib/test/aspectjrt.jar";
+ File rt = new File(rtpath);
+ assertTrue("can read " + rtpath, rt.canRead());
+ javac.setClasspath(new Path(project, rt.getAbsolutePath()));
return javac;
}