Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Integrating BIRT report with a standalone RCP application
Integrating BIRT report with a standalone RCP application [message #525625] Wed, 07 April 2010 09:05 Go to next message
Nikita is currently offline NikitaFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

I've created a report using the Report Designer Full Eclipse Install
(version 3.4.1). This works fine during design time. I now want to integrate
this report in an Eclipse IDE (Eclipse Ganymede - 3.4.1) which does not have
BIRT installed. I'm using the BIRT runtime 2.5.2 for this. The steps I have
followed are as follows-

1. Windows->Preferences->Plug-in Development->Target Platform and added all
the plug-ins available in the runtime plug-ins folder.

2. These are the dependencies I've added-
org.eclipse.ui
org.eclipse.core.runtime
org.eclipse.birt.core (2.5.2)
org.eclipse.birt.report.engine (2.5.2)
org.eclipse.birt.report.engine.emitter.html (2.5.2)
org.eclipse.birt.report.engine.script.javascript (2.5.2)
org.eclipse.birt.report.data.oda.jdbc (2.5.2)

3. I then tried running the RCP application containing the report. However,
nothing happens... the report is not getting generated. When I tried
debugging, I'm getting the following error-
java.lang.NoClassDefFoundError:
org.eclipse.birt.report.model.metadata.MetaDataDictionary (initialization
failure)

However, I can see this class in the list of Plug-in Dependencies.

Can you please help me in figuring out what the problem is?


Thanks and regards,
Nikita
Re: Integrating BIRT report with a standalone RCP application [message #525803 is a reply to message #525625] Wed, 07 April 2010 19:54 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Nikita,

Are you using the Birt RE API to generate the report? If you are
building an RCP application you can always use the Birt Viewer Plugin.

Jason

Nikita wrote:
> Hi,
>
> I've created a report using the Report Designer Full Eclipse Install
> (version 3.4.1). This works fine during design time. I now want to integrate
> this report in an Eclipse IDE (Eclipse Ganymede - 3.4.1) which does not have
> BIRT installed. I'm using the BIRT runtime 2.5.2 for this. The steps I have
> followed are as follows-
>
> 1. Windows->Preferences->Plug-in Development->Target Platform and added all
> the plug-ins available in the runtime plug-ins folder.
>
> 2. These are the dependencies I've added-
> org.eclipse.ui
> org.eclipse.core.runtime
> org.eclipse.birt.core (2.5.2)
> org.eclipse.birt.report.engine (2.5.2)
> org.eclipse.birt.report.engine.emitter.html (2.5.2)
> org.eclipse.birt.report.engine.script.javascript (2.5.2)
> org.eclipse.birt.report.data.oda.jdbc (2.5.2)
>
> 3. I then tried running the RCP application containing the report. However,
> nothing happens... the report is not getting generated. When I tried
> debugging, I'm getting the following error-
> java.lang.NoClassDefFoundError:
> org.eclipse.birt.report.model.metadata.MetaDataDictionary (initialization
> failure)
>
> However, I can see this class in the list of Plug-in Dependencies.
>
> Can you please help me in figuring out what the problem is?
>
>
> Thanks and regards,
> Nikita
>
>
Re: Integrating BIRT report with a standalone RCP application [message #525870 is a reply to message #525803] Thu, 08 April 2010 06:07 Go to previous messageGo to next message
Nikita is currently offline NikitaFriend
Messages: 12
Registered: July 2009
Junior Member
Hi Jason,
Yes, I'm using the Birt RE API to generate the report. I need to know how to
integrate this with the RCP application.




"Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
news:hpinlu$vmj$2@build.eclipse.org...
> Nikita,
>
> Are you using the Birt RE API to generate the report? If you are building
> an RCP application you can always use the Birt Viewer Plugin.
>
> Jason
>
> Nikita wrote:
>> Hi,
>>
>> I've created a report using the Report Designer Full Eclipse Install
>> (version 3.4.1). This works fine during design time. I now want to
>> integrate this report in an Eclipse IDE (Eclipse Ganymede - 3.4.1) which
>> does not have BIRT installed. I'm using the BIRT runtime 2.5.2 for this.
>> The steps I have followed are as follows-
>>
>> 1. Windows->Preferences->Plug-in Development->Target Platform and added
>> all the plug-ins available in the runtime plug-ins folder.
>>
>> 2. These are the dependencies I've added-
>> org.eclipse.ui
>> org.eclipse.core.runtime
>> org.eclipse.birt.core (2.5.2)
>> org.eclipse.birt.report.engine (2.5.2)
>> org.eclipse.birt.report.engine.emitter.html (2.5.2)
>> org.eclipse.birt.report.engine.script.javascript (2.5.2)
>> org.eclipse.birt.report.data.oda.jdbc (2.5.2)
>>
>> 3. I then tried running the RCP application containing the report.
>> However, nothing happens... the report is not getting generated. When I
>> tried debugging, I'm getting the following error-
>> java.lang.NoClassDefFoundError:
>> org.eclipse.birt.report.model.metadata.MetaDataDictionary (initialization
>> failure)
>>
>> However, I can see this class in the list of Plug-in Dependencies.
>>
>> Can you please help me in figuring out what the problem is?
>>
>>
>> Thanks and regards,
>> Nikita
>>
Re: Integrating BIRT report with a standalone RCP application [message #526020 is a reply to message #525870] Thu, 08 April 2010 14:42 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Nikita,

Download the examples from this link.
http://www.birt-exchange.org/devshare/deploying-birt-reports /1187-eclipsecon-2010-birt-metal-ppt/#description

There is an example of the hello world rcp app that uses the engine and
one that uses the viewer and one that uses the chart engine.

Jason

Nikita wrote:
> Hi Jason,
> Yes, I'm using the Birt RE API to generate the report. I need to know how to
> integrate this with the RCP application.
>
>
>
>
> "Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
> news:hpinlu$vmj$2@build.eclipse.org...
>> Nikita,
>>
>> Are you using the Birt RE API to generate the report? If you are building
>> an RCP application you can always use the Birt Viewer Plugin.
>>
>> Jason
>>
>> Nikita wrote:
>>> Hi,
>>>
>>> I've created a report using the Report Designer Full Eclipse Install
>>> (version 3.4.1). This works fine during design time. I now want to
>>> integrate this report in an Eclipse IDE (Eclipse Ganymede - 3.4.1) which
>>> does not have BIRT installed. I'm using the BIRT runtime 2.5.2 for this.
>>> The steps I have followed are as follows-
>>>
>>> 1. Windows->Preferences->Plug-in Development->Target Platform and added
>>> all the plug-ins available in the runtime plug-ins folder.
>>>
>>> 2. These are the dependencies I've added-
>>> org.eclipse.ui
>>> org.eclipse.core.runtime
>>> org.eclipse.birt.core (2.5.2)
>>> org.eclipse.birt.report.engine (2.5.2)
>>> org.eclipse.birt.report.engine.emitter.html (2.5.2)
>>> org.eclipse.birt.report.engine.script.javascript (2.5.2)
>>> org.eclipse.birt.report.data.oda.jdbc (2.5.2)
>>>
>>> 3. I then tried running the RCP application containing the report.
>>> However, nothing happens... the report is not getting generated. When I
>>> tried debugging, I'm getting the following error-
>>> java.lang.NoClassDefFoundError:
>>> org.eclipse.birt.report.model.metadata.MetaDataDictionary (initialization
>>> failure)
>>>
>>> However, I can see this class in the list of Plug-in Dependencies.
>>>
>>> Can you please help me in figuring out what the problem is?
>>>
>>>
>>> Thanks and regards,
>>> Nikita
>>>
>
Re: Integrating BIRT report with a standalone RCP application [message #526234 is a reply to message #526020] Fri, 09 April 2010 09:58 Go to previous message
Nikita is currently offline NikitaFriend
Messages: 12
Registered: July 2009
Junior Member
Thank you so much for your help Jason... I tried using the runtime 2.3.1
instead of 2.5.2 and its working...

"Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
news:hpkpvm$iek$2@build.eclipse.org...
> Nikita,
>
> Download the examples from this link.
> http://www.birt-exchange.org/devshare/deploying-birt-reports /1187-eclipsecon-2010-birt-metal-ppt/#description
>
> There is an example of the hello world rcp app that uses the engine and
> one that uses the viewer and one that uses the chart engine.
>
> Jason
>
> Nikita wrote:
>> Hi Jason,
>> Yes, I'm using the Birt RE API to generate the report. I need to know how
>> to integrate this with the RCP application.
>>
>>
>>
>>
>> "Jason Weathersby" <jasonweathersby@windstream.net> wrote in message
>> news:hpinlu$vmj$2@build.eclipse.org...
>>> Nikita,
>>>
>>> Are you using the Birt RE API to generate the report? If you are
>>> building an RCP application you can always use the Birt Viewer Plugin.
>>>
>>> Jason
>>>
>>> Nikita wrote:
>>>> Hi,
>>>>
>>>> I've created a report using the Report Designer Full Eclipse Install
>>>> (version 3.4.1). This works fine during design time. I now want to
>>>> integrate this report in an Eclipse IDE (Eclipse Ganymede - 3.4.1)
>>>> which does not have BIRT installed. I'm using the BIRT runtime 2.5.2
>>>> for this. The steps I have followed are as follows-
>>>>
>>>> 1. Windows->Preferences->Plug-in Development->Target Platform and added
>>>> all the plug-ins available in the runtime plug-ins folder.
>>>>
>>>> 2. These are the dependencies I've added-
>>>> org.eclipse.ui
>>>> org.eclipse.core.runtime
>>>> org.eclipse.birt.core (2.5.2)
>>>> org.eclipse.birt.report.engine (2.5.2)
>>>> org.eclipse.birt.report.engine.emitter.html (2.5.2)
>>>> org.eclipse.birt.report.engine.script.javascript (2.5.2)
>>>> org.eclipse.birt.report.data.oda.jdbc (2.5.2)
>>>>
>>>> 3. I then tried running the RCP application containing the report.
>>>> However, nothing happens... the report is not getting generated. When I
>>>> tried debugging, I'm getting the following error-
>>>> java.lang.NoClassDefFoundError:
>>>> org.eclipse.birt.report.model.metadata.MetaDataDictionary
>>>> (initialization failure)
>>>>
>>>> However, I can see this class in the list of Plug-in Dependencies.
>>>>
>>>> Can you please help me in figuring out what the problem is?
>>>>
>>>>
>>>> Thanks and regards,
>>>> Nikita
>>>>
>>
Previous Topic:BIRT is very slow compared to Jasper
Next Topic:integrate BIRT WebViewer in existing web Application works partially
Goto Forum:
  


Current Time: Thu Apr 25 10:47:35 GMT 2024

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

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

Back to the top