summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authoraclement <aclement>2008-01-16 23:48:23 +0000
committeraclement <aclement>2008-01-16 23:48:23 +0000
commit7391b11e33ddf769e45eea5c8077518d4c8832a8 (patch)
tree1b8ad02956bff442509d886740c22b3d7bdb2dec /testing
parent919bd9c7a93c5e7e0deac5564f5a707971354d99 (diff)
downloadaspectj-7391b11e33ddf769e45eea5c8077518d4c8832a8.tar.gz
aspectj-7391b11e33ddf769e45eea5c8077518d4c8832a8.zip
AspectJ6: improved diagnostics for failure case
Diffstat (limited to 'testing')
-rw-r--r--testing/newsrc/org/aspectj/testing/AntSpec.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/newsrc/org/aspectj/testing/AntSpec.java b/testing/newsrc/org/aspectj/testing/AntSpec.java
index da83578fa..fa56345eb 100644
--- a/testing/newsrc/org/aspectj/testing/AntSpec.java
+++ b/testing/newsrc/org/aspectj/testing/AntSpec.java
@@ -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);