From: aclement Date: Wed, 16 Jan 2008 23:48:23 +0000 (+0000) Subject: AspectJ6: improved diagnostics for failure case X-Git-Tag: V1_6_0M1~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7391b11e33ddf769e45eea5c8077518d4c8832a8;p=aspectj.git AspectJ6: improved diagnostics for failure case --- 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);