| Summary: | Project reference between report project and Java project not working with Java event handlers and Javascript | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | James Stoddard <stoddardtec> |
| Component: | BIRT | Assignee: | Birt-ReportDesigner <Birt-ReportDesigner-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Xiaoying Gu <bluesoldier> |
| Severity: | major | ||
| Priority: | P3 | CC: | bluesoldier, lchan, stoddardtec |
| Version: | 2.6.0 | ||
| Target Milestone: | 4.4.0 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
James Stoddard
The issue effects both Java event handlers and if a POJO is referenced in a Javascript event handler. Did you reference the java project in report project from: Properties -> Report Design -> Classpath -> Add Projects..? I can preview the report which use a eventhandler after above setting. Yes, that works. What through me was that Project References didn't work. Even more, under Properties -> Report Design -> Classpath -> Add Class Folder and Properties -> Report Design -> Classpath -> Add External Class Folder both do not work either. Properties -> Report Design -> Classpath -> Add External Jars works as well. Thanks. (In reply to comment #3) > Yes, that works. What through me was that Project References didn't work. > Even more, under Properties -> Report Design -> Classpath -> Add Class Folder > and Properties -> Report Design -> Classpath -> Add External Class Folder both > do not work either. Properties -> Report Design -> Classpath -> Add External > Jars works as well. Thanks. I think in Properties -> Report Design -> Classpath -> Add Class Folder/Add External Class Folder, you should choose the <java handler project>/bin folder instead of the <java handler project> folder. It works in my environment. |