Home
Analytics
Integrating BIRT with OSGI
ashadale
<p>Hi</p>
<p> </p>
<p>I am having lot of trouble in integrating BIRT runtime with OSGI framework. I get lot of missing bundle errors.</p>
<p>We are using birt-runtime-4.4.2 and use maven to build our projects.</p>
<p> </p>
<p>Does anyone have similar issue... any help on how to proceed should be helpful.</p>
<p> </p>
<p>Asha</p>
Find more posts tagged with
Comments
Pats
<p>Hi ,</p>
<p>Am also facing same issue . i think jars which are their for birt , they are compatible for OSGI ,</p>
<p>now am trying with mavne bundle plug in .</p>
<p> </p>
<p>Can u tell me how you using birt jars ? post your POM xml .</p>
ashadale
<p>I am using</p>
<p><dependency></p>
<div> <groupId>org.eclipse.birt.runtime</groupId></div>
<div> <artifactId>org.eclipse.birt.runtime</artifactId></div>
<div> <version>4.4.2</version></div>
<div></dependency> </div>
<div> and using maven bundle plugin to generate manifest -</div>
<div> <plugin></div>
<div> <groupId>org.apache.felix</groupId></div>
<div> <artifactId>maven-bundle-plugin</artifactId></div>
<div> <version>2.4.0</version></div>
<div> <extensions>true</extensions></div>
<div> <configuration></div>
<div> <instructions></div>
<div> <_nouses>true</_nouses></div>
<div> <_consumer-policy>${version;==;${@}}</_consumer-policy> </div>
<div> <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment></div>
<div> <Bundle-SymbolicName>${project.groupId}.osgi</Bundle-SymbolicName> </div>
<div> <qualifier>$(if;$(filter;$(project.version);.*-SNAPSHOT);v$(tstamp);GA)</qualifier></div>
<div> <!-- Use qualifer to update the version --></div>
<div> <Bundle-Version>$(replace;$(project.version);^(.*?)(-SNAPSHOT)?$;$1.$(qualifier))</Bundle-Version></div>
<div> </instructions></div>
<div> </configuration></div>
<div> ......</div>
<div> .......</div>
<div>which jar are you using?</div>
mwilliams
<p>Not sure if it'll help, but there might be some issues using BIRT as an OSGi bundle. You might take a look at this thread from the Eclipse Newsgroup. It seems to offer some explanation:</p>
<p> </p>
<p><a data-ipb='nomediaparse' href='
https://www.eclipse.org/forums/index.php/t/536432/'>https://www.eclipse.org/forums/index.php/t/536432/</a></p>
;