Question & Answer
Question
This technote describes how you generate Business Intelligence and Reporting Tools (BIRT) automatically. BIRT is an open source reporting system for web applications, especially for Java™ and J2EE™ applications. This reporting system is based on Eclipse. You can use BIRT both on Microsoft® Windows® and on Linux®.
Answer
The following steps describe how to start with automated report creation.
- Download Birt Runtime and unpack the downloaded file into a folder. That folder is your birt-runtime-2_2_1_1 folder.
- Create an environment variable to point to that folder in the operating system.
For example add the following line at the beggining of genReport.bat (adjust the folder path).
set PATH=%PATH%;c:\birt-runtime-2_2_1_1
Alternatively you can put a path statement inside the files.
For Windows, birt-runtime-2_2_1_1\ReportEngine\genReport.bat .
For Linux, genreport.sh.
- Put your jdbc.jar file in the following folder
birt-runtime-2_2_1_1\ReportEngine\plugins\org.eclipse.birt.report.data.oda.jdbc_2.2.1.r22x_v20070919\drivers . - Start genReport.bat script to see the usage.
For example:
genReport.bat -f PDF -o outputfile.pdf -F report_design.rptdesign .
[{"Product":{"code":"SSJNRR","label":"Rational Elite Support for Eclipse"},"Business Unit":{"code":"BU050","label":"BU NOT IDENTIFIED"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"1.0","Edition":"","Line of Business":{"code":"","label":""}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21296920