Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT Webviewer + Tomcat + Maven (How to implement the BIRT Webviewer in my Projects?)
BIRT Webviewer + Tomcat + Maven [message #1001780] Thu, 17 January 2013 11:06
Samo B. is currently offline Samo B.Friend
Messages: 41
Registered: December 2012
Member
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 12:36]

Report message to a moderator

Previous Topic:Temporary dataset to disk
Next Topic:Possible to create a custom Chart form with the Chart API?!
Goto Forum:
  


Current Time: Fri Sep 20 15:57:21 GMT 2024

Powered by FUDForum. Page generated in 0.04018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top