| Summary: | Using DataSource From a Library | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Scott Rosenbaum <scottr> |
| Component: | BIRT | Assignee: | Birt-ReportDesigner <Birt-ReportDesigner-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | CC: | rlu, zqian |
| Version: | 2.5.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Scott Rosenbaum
Can you please attach the report design file that is corrupted? How did you copy the file? Is that by choosing the file and copy/paste in the eclipse navigator view? Rick, should be easier for you to set up on your own. Seems to be more tied to the use of {workspace_loc} under windows=>Preferences=>Report Design=>Resource Home.
Just change your resource home, create a separate project, put in the DataSource and the in a different project create a report that references the DataSource.
Close the report, and open sometimes I have seen the issue only doing this.
If that doesn't do it, just do a drag ctrl drop in the Navigator and you will see it.
(In reply to comment #2) > > Just change your resource home, create a separate project, put in the > DataSource and the in a different project create a report that references the > DataSource. > > Close the report, and open sometimes I have seen the issue only doing this. > If that doesn't do it, just do a drag ctrl drop in the Navigator and you will > see it. Little confused... The library is not in the resource folder? Let's say we have a rptdesign and rptlibrary. The rptlibrary has a data source. The rptdesign uses the rptlibrary. 1. rptlibrary in a project test1 (not in the resource home?) 2. rptdesign in another project test2? For a rptdesign to use a library, the library should be either in the resource home or same folder as the rptdesign. Two projects: common_project - common.rptlibrary reports_project - some_design_file.rptdesign Both projects sit at Workspace_home. So you modify the location of RESOURCE_HOME to be the workspace location (do this using the variables tab). Then when you add the element you will navigate through the project, to the file and the element in the file. In your XML you will see the the rptlibrary references as: common_project/common.rptlibrary So the rptlibrary is in the Resource folder, it is just in a different project and all of the projects are on the same relative path. This is a fairly common configuration when doing large scale development. This may be a duplicate of bug 291558, please try latest 2.6 build. *** This bug has been marked as a duplicate of bug 291558 *** |