BIRT Runtime 4.7.0 Release Build download Availability [message #1768157] |
Fri, 14 July 2017 04:39  |
Eclipse User |
|
|
|
Hi ,
I m upgrading BIRT runtime to 4.7.0.
Found that BIRT runtime 4.7.0 release date is 28th June 2017,
but the Maven dependency is not available for 4.7.0 release,
also on the official BIRT site there is no release build 4.7.0 available to download,
Can anyone please confirm , when is the BIRT 4.7.0 available to download?
Thanks,
Prasad Kulkarni.
|
|
|
|
|
|
Re: BIRT Runtime 4.7.0 Release Build download Availability [message #1790901 is a reply to message #1769115] |
Tue, 19 June 2018 18:42  |
Eclipse User |
|
|
|
I cannot answer the question but I have just worked around the runtime not being as a maven dependancy.
NB. Again I am not saying this is the right-way or even a good-way but in the absense of better information this is how I solved building a web application using [/b]maven[b] that includes the birt-runtime.
The project I am working on is a vaadin project and starting with the standard vaadin maven file I made the following extension.
Step 1. Download the birt-runtime zip file, eg. birt-runtime-4_7_0.zip
Step 2. Added the file as a binary file into to project source, eg. Resources/birt-runtime-4_7_0.zip
Step 3. Add property definitions:
<birt-version>birt-runtime-4_7_0</birt-version>
<birt-zip-file>Resources/${birt-version}.zip</birt-zip-file>
<birt-unzip-dir>target/birt-unzip/${birt-version}</birt-unzip-dir>
<birt-lib-dir>${birt-unzip-dir}/ReportEngine/lib</birt-lib-dir>
Step 4. Add an maven-antrun-plugin to unwrap the zip file.
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<tasks>
<unzip src="${birt-zip-file}" dest="${birt-unzip-dir}" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
Step 4 Extend the maven-war-plugin to include the birt-lib jars into the project war buildspace.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<!-- Exclude an unnecessary file generated by the GWT compiler. -->
<packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
<webResources>
<resource>
<directory>${birt-lib-dir}</directory>
<targetPath>WEB-INF/lib</targetPath>
</resource>
<resource>
<directory>WebContent/WEB-INF/lib</directory>
<targetPath>WEB-INF/lib</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
|
|
|
Powered by
FUDForum. Page generated in 0.05095 seconds