Bug 300924 - Add a possibility to place BIRT OSGi engine out of BIRT web application
Summary: Add a possibility to place BIRT OSGi engine out of BIRT web application
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.5.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Birt-ReportViewer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-26 17:18 EST by Snjezana Peco CLA
Modified: 2011-03-20 16:51 EDT (History)
3 users (show)

See Also:


Attachments
a patch (26.40 KB, patch)
2011-03-20 16:47 EDT, Snjezana Peco CLA
no flags Details | Diff
BIRT facet page (7.46 KB, image/png)
2011-03-20 16:48 EDT, Snjezana Peco CLA
no flags Details
coreapi.jar (776.70 KB, application/octet-stream)
2011-03-20 16:51 EDT, Snjezana Peco CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Snjezana Peco CLA 2010-01-26 17:18:25 EST
Build Identifier: 

When deploying a BIRT application, the BIRT OSGi engine is placed within the application. It would be good if we could set BIRT so that the engine is somewhere in the file system. This would decrease BIRT applications for about 30 MB. 
I will create a patch.

Reproducible: Always
Comment 1 Snjezana Peco CLA 2011-03-20 16:45:30 EDT
Attached is a patch.

The user can create a platform folder somewhere in the workspace and add it to the application as follows:

- create a context parameter like the following:

<context-param>
  <description>The platform home directory. Default to WEB-INF/platform</description>
  <param-name>BIRT_PLATFORM_HOME</param-name>
  <param-value>C:/platform</param-value>
 </context-param>
 
 - start the server using -DBIRT_PLATFORM_HOME=c:\platform
 
The attached image shows the UI in which the user can do the following:
 
 - enter a platform home (BIRT facet delegate will automatically create a context parameter)
 - copy platform resources to the entered directory (the Create Platform button)
 - can decide whether to copy the platform to WEB-INF/platform of the application (the Copy Platform checkbox)
 
 If the user doesn't change anything, the BIRT facet will behave as before.
 
 coreapi.jar in the WEB-INF/lib directory needs to be replaced with the attached coreapi.jar when testing the patch (or a new birt.zip  needs to be created within the Birt WTP integration plugin).
Comment 2 Snjezana Peco CLA 2011-03-20 16:47:30 EDT
Created attachment 191584 [details]
a patch
Comment 3 Snjezana Peco CLA 2011-03-20 16:48:35 EDT
Created attachment 191585 [details]
BIRT facet page
Comment 4 Snjezana Peco CLA 2011-03-20 16:51:08 EDT
Created attachment 191586 [details]
coreapi.jar