|
|
Re: Scripted Datasources using BIRT Reporter plugin [message #630317 is a reply to message #630170] |
Fri, 01 October 2010 14:44 |
|
Rajesh,
There are some appContext settings that allow you to set the parent
classloader for the engine and to add to the classpath. If you are
using the viewer plugin in an RCP app this requires that you implement
the appcontext extension which is very easy. Take a look at this example:
RCP APP with BIRT and Scripted Datasource
http://www.birt-exchange.org/org/devshare/designing-birt-rep orts/889-rcp-app-with-birt-and-scripted-datasource/
Jason
On 9/30/2010 5:14 PM, Rajesh Indurthi wrote:
> Hi Jason,
> I was able to get my report running by placing my jar files in the
> scriptlib folder as you asked me to. However is there a more elegant
> solution for BIRT report plugin to look up my java classes. I will
> bebundling the solution inot an RCP app , In my case I want BIRT viewer
> to have acces to my whole persistance stack, which include a whole bunch
> of jars. One thing I tried to do is add
> Eclipse-BuddyPolicy: registered to the manifest file of my BIRT report
> viewer, and then added the following to the Manifest file of the plugin
> which has my java classes
> Eclipse-RegisterBuddy: org.eclipse.birt.report.viewer.ViewerPlugin
> I assumed that this will allow BIRT report to actually have access to my
> java class , but it did not work. Please advise me as to how to set my
> classloader on the BIRT report viewer.Your help is highly appreciated.
|
|
|
Powered by
FUDForum. Page generated in 0.05213 seconds