Expand my Community achievements bar.

SOLVED

eclipse birt engine

Avatar

Level 2

Hi All, 

Was there anyone of you have successfully used BIRT engine in AEM?

I am migrating an application which currently using BIRT engine to generate PDF file. I tried adding the BIRT engine dependency to my POM. 

<dependency>
            <groupId>org.eclipse.birt.runtime</groupId>
            <artifactId>org.eclipse.birt.runtime</artifactId>
            <version>4.3.1</version>
        </dependency>

It compiles okay and can build the bundle jar file, but when I deploy to Apache  felix it cannot resole the birth engine library.

     
Imported Packagescom.company.revamp.test,version=[1.0,2) from com.company.revamp.test-bundle (371)
javax.servlet from cqse-httpservice (25)
javax.servlet.http from cqse-httpservice (25)
org.apache.sling.api,version=[2.1,3) from org.apache.sling.api (123)
org.apache.sling.api.request,version=[2.1,3) from org.apache.sling.api (123)
org.apache.sling.api.servlets,version=[2.1,3) from org.apache.sling.api (123)
org.apache.sling.jcr.api,version=[2.1,3) from org.apache.sling.jcr.api (74)
org.eclipse.birt.core.exception -- Cannot be resolved
org.eclipse.birt.core.framework -- Cannot be resolved
org.eclipse.birt.report.engine.api -- Cannot be resolved
org.slf4j,version=[1.5,2) from slf4j.api (6)

Any input is much appreciated.

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

How do you deploy the birt engine to your AEM container? If you need it specifically only from your bundle, then you can embedd birt into your bundle. But I've seen also an OSGI-enabled version of birt for download [1], which you can run directly within OSGI.

Jörg

[1] http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_5_0-201506092134/bir...

View solution in original post

2 Replies

Avatar

Level 10

This means that AEM is missing these Java packages from the OSGi service container. You need to placed a JAR file(s) that contains these Java packages into an OSGi bundle and deploy to AEM. 

Avatar

Correct answer by
Employee Advisor

Hi,

How do you deploy the birt engine to your AEM container? If you need it specifically only from your bundle, then you can embedd birt into your bundle. But I've seen also an OSGI-enabled version of birt for download [1], which you can run directly within OSGI.

Jörg

[1] http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_5_0-201506092134/bir...