Skip to main content



      Home
Home » Archived » BIRT » Share one single rptlibrary for a tree of Reports
Share one single rptlibrary for a tree of Reports [message #781653] Sat, 21 January 2012 18:06 Go to next message
Eclipse UserFriend
I want to deploy my Reports in a tree of hierarchical folder, all reports have some items that are imported from a library(rptlibrary), i can share one unique library file in the root of the folder tree with all my reports in the subfolder ? How ?

For exmaple i have :

-Root
commonObjects.rptlibrary
      --SubFolder1
         AReport.rptdesign
      --SubFolder2
         Report.rptdesign
         --SubFolder
             Report.rptdesign
Re: Share one single rptlibrary for a tree of Reports [message #782401 is a reply to message #781653] Mon, 23 January 2012 11:50 Go to previous messageGo to next message
Eclipse UserFriend
Do you mean in the designer or deployed? In the deployed you should be
able to just set the resource folder in the web.xml to the Root
directory. In the designer set the resource folder in the
window->preferences->Report Design->Resource preference.

Jason

On 1/21/2012 6:06 PM, Alessio Pollero wrote:
> I want to deploy my Reports in a tree of hierarchical folder, all
> reports have some items that are imported from a library(rptlibrary), i
> can share one unique library file in the root of the folder tree with
> all my reports in the subfolder ? How ?
> For exmaple i have :
>
> -Root
> commonObjects.rptlibrary
> --SubFolder1
> AReport.rptdesign
> --SubFolder2
> Report.rptdesign
> --SubFolder
> Report.rptdesign
Re: Share one single rptlibrary for a tree of Reports [message #782486 is a reply to message #782401] Mon, 23 January 2012 15:13 Go to previous messageGo to next message
Eclipse UserFriend
No, i mean deployed but not using web application but using a standalone application(that implements Runtime API), i have to set the resource folder also in the runtime engine ?

[Updated on: Mon, 23 January 2012 15:13] by Moderator

Re: Share one single rptlibrary for a tree of Reports [message #782833 is a reply to message #782486] Tue, 24 January 2012 09:43 Go to previous messageGo to next message
Eclipse UserFriend
If you are using the Engine api just set the resource path on the
EngineConfig instance:

config.setResourcePath(resourcePath)

Jason

On 1/23/2012 3:13 PM, Alessio Pollero wrote:
> No, i mean using deployed but not using web application but using a
> standalone application(that implements Runtime API) that execute the
> reports, i have to set the resource folder also in the runtime engine ?
Re: Share one single rptlibrary for a tree of Reports [message #782918 is a reply to message #782833] Tue, 24 January 2012 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Yes, i have tried but it doesn't work ...
I mean i have a library(rptlibrary) where i have put inside some embedded images, then i have loaded these images in several reports(rptdesign), if the rptlibrary is in the same folder of the report definition (rptdesign) when i load the report i have no problem(images are displayed), if i move the library into another folder (resources folder) and then i set the resource path with :

config.setResourcePath(resourcePath)


when i run the reports the images are not displayed ... Why ? Is it a bug ?
Re: Share one single rptlibrary for a tree of Reports [message #783025 is a reply to message #782918] Tue, 24 January 2012 18:00 Go to previous messageGo to next message
Eclipse UserFriend
That should work. Is the resourcePath a fully qualified path?

Jason

On 1/24/2012 1:14 PM, Alessio Pollero wrote:
> Yes, i have tried but it doesn't work ... I mean i have a
> library(rptlibrary) where i have put inside some embedded images, then i
> have loaded these images in several reports(rptdesign), if the
> rptlibrary is in the same folder of the report definition (rptdesign)
> when i load the report i have no problem(images are displayed), if i
> move the library into another folder (resources folder) and then i set
> the resource path with :
> config.setResourcePath(resourcePath)
>
> when i run the reports the images are not displayed ... Why ? Is it a bug ?
>
Re: Share one single rptlibrary for a tree of Reports [message #783163 is a reply to message #783025] Wed, 25 January 2012 02:44 Go to previous messageGo to next message
Eclipse UserFriend
Yes, a fully qualified path, for example : C:\Temp.
Re: Share one single rptlibrary for a tree of Reports [message #783397 is a reply to message #783163] Wed, 25 January 2012 11:32 Go to previous messageGo to next message
Eclipse UserFriend
What version of BIRT are you using and are the images embedded in the
library?

Jason

On 1/25/2012 2:44 AM, Alessio Pollero wrote:
> Yes, a fully qualified path, for example : C:\Temp.
Re: Share one single rptlibrary for a tree of Reports [message #783435 is a reply to message #783397] Wed, 25 January 2012 12:57 Go to previous messageGo to next message
Eclipse UserFriend
Yes, the image are embedded in the library and i'm using BIRT 3.7.1 .
Re: Share one single rptlibrary for a tree of Reports [message #783871 is a reply to message #783435] Thu, 26 January 2012 11:11 Go to previous messageGo to next message
Eclipse UserFriend
I just tried this with 3.7.1 and it worked for me. Are you setting the
full resource path like: c:\\temp or c:/temp?

Jason

On 1/25/2012 12:57 PM, Alessio Pollero wrote:
> Yes, the image are embedded in the library and i'm using BIRT 3.7.1 .
Re: Share one single rptlibrary for a tree of Reports [message #784679 is a reply to message #783871] Fri, 27 January 2012 16:40 Go to previous messageGo to next message
Eclipse UserFriend
I'm setting the path with backslash
(c:\temp)
...

I have tried even on MAC OS X setting an absolute path like :

/tmp 


but it doesn't work, the image are not loaded ... Instead of the report image i get : "The resource of this report item is not reachable."

[Updated on: Sat, 28 January 2012 15:02] by Moderator

Re: Share one single rptlibrary for a tree of Reports [message #786590 is a reply to message #784679] Mon, 30 January 2012 10:57 Go to previous messageGo to next message
Eclipse UserFriend
Use a double backslash ie c:\\temp.

Jason

On 1/27/2012 4:40 PM, Alessio Pollero wrote:
> I'm setting the path with backslash(c:\temp) ..
Re: Share one single rptlibrary for a tree of Reports [message #787375 is a reply to message #786590] Tue, 31 January 2012 09:09 Go to previous message
Eclipse UserFriend
It doesn't work neither ...
Previous Topic:Stored Procedure without owner
Next Topic:IGetParameterDefinitionTask getSelectionList get too time during evaluation
Goto Forum:
  


Current Time: Wed Jul 02 15:45:41 EDT 2025

Powered by FUDForum. Page generated in 0.05571 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top