]> source.dussan.org Git - aspectj.git/commitdiff
Fixed classpath for build machine.
authoraclement <aclement>
Fri, 24 Jun 2005 11:28:31 +0000 (11:28 +0000)
committeraclement <aclement>
Fri, 24 Jun 2005 11:28:31 +0000 (11:28 +0000)
org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java

index d67b85c967e1eb0288aab25ed92c6f61d866ab2c..d87337ca7eb7317d9764b2c52b81d95783a3f227 100644 (file)
@@ -68,6 +68,14 @@ public class AjcTestCase extends TestCase {
                File.pathSeparator + ".." + File.separator + "aspectj5rt" + File.separator + "bin" +
                File.pathSeparator+ ".."+File.separator+"lib"+File.separator+"junit"+File.separator+"junit.jar"
         + File.pathSeparator+ ".."+File.separator+"loadtime"+File.separator+"bin" 
+        
+        // When the build machine executes the tests, it is using code built into jars rather than code build into
+        // bin directories.  This means for the necessary types to be found we have to put these jars on the classpath:
+               + File.pathSeparator+".."+File.separator+"aj-build"+File.separator+"jars"+File.separator+"bridge.jar"
+        + File.pathSeparator+".."+File.separator+"aj-build"+File.separator+"jars"+File.separator+"util.jar"
+               + File.pathSeparator+".."+File.separator+"lib"     +File.separator+"test"+File.separator+"testing-client.jar"
+               // hmmm, this next one should perhaps point to an aj-build jar...
+               + File.pathSeparator+".."+File.separator+"lib"     +File.separator+"test"+File.separator+"aspectjrt.jar"
         ;
 
        /**