| Summary: | Add BIRT-specific Java system property to map to Viewer's BIRT_RESOURCE_PATH | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Linda Chan <lchan> |
| Component: | BIRT | Assignee: | Jerry Cheng <cyfgod> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | cyfgod, qaobsolete, yli |
| Version: | 2.2.0 | ||
| Target Milestone: | 2.3.0 M6 | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Linda Chan
Support it.
In deployment env, please change the init value of BIRT_RESOURCE_PATH in web.xml. It can be ${birt.viewer.resource.path}.
Please roll back this change since those paths should not be registered as system parameter. Please pass in the resource path value that viewer loaded from web.xml to appContext to Engine when viewer start the task. Then user will be able to access the value from the script. Push resource path to appcontext when call engine task.
Please use reportContext.getAppContext.get("birt.viewer.resource.path") to get resource folder in script.
|