Browse Source

AspectJ6: improved diagnostics for failure case

tags/V1_6_0M1
aclement 16 years ago
parent
commit
7391b11e33
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      testing/newsrc/org/aspectj/testing/AntSpec.java

+ 2
- 1
testing/newsrc/org/aspectj/testing/AntSpec.java View 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);

Loading…
Cancel
Save