Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 230087

Summary: Path to BIRT resources should be project name, not absolute path
Product: z_Archived Reporter: Paul Rogers <progers>
Component: BIRTAssignee: Dazheng Gao <gump_gao>
Status: VERIFIED FIXED QA Contact: Maggie Shen <lshen>
Severity: normal    
Priority: P3 CC: bluesoldier, rkanguri, zqian
Version: 2.2.2Keywords: plan
Target Milestone: 2.5.0   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete

Description Paul Rogers CLA 2008-05-03 18:32:25 EDT
Suppose we create a large BIRT financial project with three subprojects: A/R (accounts receivable), Billing and Collections. We create a fourth subproject to hold shared resources such a scripts, logos, etc.

To point to the shared resources, the developer uses Top Menu --> Windows --> Preferences --> Report Design --> Resources to set the resource path. But, this dialog allows only a file-system path. Thus, I might set this to "c:/paul/projects/Shared Resources" while you might set it to "d:/work/Eclipse/proj/Shared Resources."

Further, suppose I decide to reorganize my computer and move my Eclipse workspace to "D:/paul/Workspace". I'd need to change the absolute resource path.

Note that in all cases, what we want is the same: point to the Workspace project called "Shared Resources".

The Java tools provide a way to reference projects independent of their physical location. See the project dependencies settings on a Java project.

Expected BIRT would use this existing mechanism to reference resources using a project name reference rather than an absolute path.
Comment 1 Dazheng Gao CLA 2009-02-03 01:35:21 EST
Fixed.
Comment 2 Maggie Shen CLA 2009-02-09 03:48:20 EST
Path to resource can be set as relative to workspace. Verified on build 2.5.0.v20090209-0630.