| Summary: | afterFactory event does not fire | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Michael Yoffe <myoffe> |
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | jouyang |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Michael Yoffe
BIRT version 3.7.0 on Eclipse Indigo afterFactory is invoked after the whole report is finished, It's supposed to be used to release resources.
To verify the invocation, please create a disk file in the callback. Like:
file = new Packages.java.io.FileOutputStream("d:/testFile");
file.write(1);
file.write(2);
file.close();
Thank you, that worked. So the problem is using report variables in afterFactory event? This is not at all clear from the documentation http://eclipse.org/birt/phoenix/deploy/reportScripting.php You can use report variables in afterFactory, but it just can't be reflected in report execution. |