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

Bug 267871

Summary: BIRT integration tutorial
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: WebsiteAssignee: Benjamin Muskalla <b.muskalla>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: batxut, cheinfo, david.varnes, emmanuel.marchal, maier
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Benjamin Muskalla CLA 2009-03-10 10:56:21 EDT
We should provide a tutorial (wiki,website,tbd) how to integrate BIRT charts and reports into RAP applications.

This will be based on the material of the BIRT+RAP talk at EclipseCon.
See http://eclipsesource.com/blogs/2009/03/02/colorful-charts-with-rap-and-birt/
Comment 1 Boris Stepanov CLA 2009-03-18 00:58:14 EDT
I wrote the following tutorial for me to remember how I integrated BIRT into my RAP application:

1. Download BIRT runtime plugins.
2. Remove from them the floowing:
org.eclipse.birt.api
org.eclipse.core.expressions
org.eclipse.core.jobs
org.eclipse.core.runtime
org.eclipse.equinox.app
org.eclipse.equinox.common
org.eclipse.equinox.preferences
org.eclipse.equinox.registry
org.eclipse.osgi.services
org.eclipse.osgi
org.eclipse.update.configurer
3. You should add to BIRT full version of com.ibm.icu plugin instead of com.ibm.icu.base.
4. Add from RCP BIRT plugins:
javax.xml.rpc
javax.xml.soap
org.apache.axis
org.apache.commons.discovery
org.eclipse.birt.report.viewer
5. Edit manifest for javax.xml.rpc
- Remove javax.servlet from Require-Bundle area;
- Add javax.servlet,javax.servlet.http to Import-Package area.
6. (This step should be applied for production application, if you do it for development it won't work) Edit manifest for org.apache.axis.
- Remove org.apache.commons.logging and org.apache.commons.logging.impl from Import-Package.
7. Edit manifest for org.eclipse.birt.report.viewer.
- Add org.eclipse.birt.report.servlet to Export-Package section.
- Replace org.eclipse.ui;bundle-version="[3.2.0,4.0.0)" to org.eclipse.rap.ui in Require-Bundle section.

I made this tutorial after integration, so I can miss something. I hope this tutorial will help you.
Comment 2 RĂ¼diger Herrmann CLA 2009-06-15 10:50:04 EDT
I would suggest to put this tutorial in the FAQ (http://wiki.eclipse.org/RAP/FAQ) for now. There is already some content that points to this blog:
  http://blog.tim-pietrusky.de/2009/rich-ajax-platform-rap/integrating-birt-into-rap-applications
Comment 3 Benjamin Muskalla CLA 2009-07-13 05:39:54 EDT
The tutorial is available here: http://eclipsesource.com/blogs/2009/07/06/integrating-birt-into-rap-applications/

Marking this as FIXED.