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 Packages | com.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!
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Views
Likes
Replies