]> source.dussan.org Git - aspectj.git/commitdiff
AspectJ6: improved diagnostics for failure case
authoraclement <aclement>
Wed, 16 Jan 2008 23:48:23 +0000 (23:48 +0000)
committeraclement <aclement>
Wed, 16 Jan 2008 23:48:23 +0000 (23:48 +0000)
testing/newsrc/org/aspectj/testing/AntSpec.java

index da83578fa4b144374fb72921d905fbdd353de20c..fa56345eb204e77826718cf22f63ff544912b39b 100644 (file)
@@ -88,7 +88,7 @@ public class AntSpec implements ITestStep {
             populatePath(path, DEFAULT_LTW_CLASSPATH_ENTRIES);
             populatePath(path, AjcTestCase.DEFAULT_CLASSPATH_ENTRIES);
             p.addReference("aj.path", path);
-
+            p.setBasedir(buildFile.getAbsoluteFile().getParent());
             ProjectHelper helper = ProjectHelper.getProjectHelper();
             helper.parse(p, buildFile);
 
@@ -143,6 +143,7 @@ public class AntSpec implements ITestStep {
             AjcTestCase.fail(failMessage + "invalid Ant script :" + t.toString());
         }
         try {
+               p.setProperty("verbose","true");
             p.fireBuildStarted();
             p.executeTarget(m_antTarget);
             p.fireBuildFinished(null);