summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-09-26 08:46:07 +0000
committeraclement <aclement>2005-09-26 08:46:07 +0000
commit870577699de0f11a2ac0a6c65729b36207b50357 (patch)
treee8ec8df99f21e4acf4971593a8617711cc655fa2
parente61636fbce24dd10ea99dce19f1deec738cf4357 (diff)
downloadaspectj-870577699de0f11a2ac0a6c65729b36207b50357.tar.gz
aspectj-870577699de0f11a2ac0a6c65729b36207b50357.zip
Ensure tests run if no aj-build folder exists.
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/Ajc.java3
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java1
2 files changed, 3 insertions, 1 deletions
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 a6c744fa0..da724ca5a 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
@@ -51,6 +51,7 @@ public class Ajc {
+ 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"
+ + File.pathSeparator+".."+File.separator+"weaver" +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:
@@ -74,7 +75,7 @@ public class Ajc {
private int incrementalStage = 10;
private boolean shouldEmptySandbox = true;
private AjcCommandController controller;
- private static boolean verbose = (!System.getProperty("org.aspectj.tools.ajc.Ajc.verbose","false").equals("false"));
+ private static boolean verbose = true; //(!System.getProperty("org.aspectj.tools.ajc.Ajc.verbose","false").equals("false"));
/**
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 0fe6ffc69..6c2a73882 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
@@ -68,6 +68,7 @@ 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"
+ + File.pathSeparator+ ".."+File.separator+"weaver"+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: