Hi all,
I want to use the BIRT Webviwer in combination with my jar files generated by maven.
My Workspace includes some Java Projects which is connecting to a backend to get data. One of my Java projects includes a ScriptedDataSetEventHandler which I want to use for my report.
I use Tomcat 7.0.34 and the birt-runtim 4.2.1 as you can see in the dependency tags.
In my pom.xml I used the following code to get the libaries for BIRT:
<repositories>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</snapshots>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</snapshots>
<id>sonatype-nexus-releases</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>4.2.1a</version>
</dependency>
</dependencies>
But now I'm not sure how to run my report.
How can I import all necessary liabries and folders to my maven projects without copying by myself. I want to generate it automatically.
I miss some libaries like viewerserlvet and so on. These jars was not included in the repositorie I used.
How about the web.xml, do I need thoe entire web.xml of the Birt Webviewer Example?
It works if I do it like this:
1. I generated my jars with maven
2. copied almost the entire BIRT webviewer Example (libaries, webcontent, web.xml and so on) to my folder
But this is awkward and I guess bad practice.
Thanks!
Cheers
[Updated on: Thu, 17 January 2013 07:36] by Moderator