Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the simplest way to set up a BIRT report viewer for a xulrunner application?

I recently began using BIRT and have developed a report to use with my xulrunner application. What I haven't yet figured out is how I should deploy the viewer. It seems like BIRT mostly targets Java applications, so there are instructions for deploying on J2EE, JBoss, and other technologies -- with which I am not familiar (but I'm not developing in Java anyway).

Reviewing this article on deploying BIRT and reviewing the deployment details on BIRT's web site, I'm not sure where to go. I wasn't expecting to have to add some large Java dependency for the xulrunner application --is there no way I can drop an executable in with my xulrunner app, call it from my app, and pass it a report document? (Or something else that would be simpler than learning and using J2EE, JBoss, tomcat?)

like image 928
pc1oad1etter Avatar asked Oct 04 '08 01:10

pc1oad1etter


2 Answers

It appears that there is a genReport.bat file in the run-time somewhere that can generate reports from the command line. This appears to be what I need, and this article describes it.

like image 56
pc1oad1etter Avatar answered Oct 19 '22 22:10

pc1oad1etter


(11/2014) I'm going to add:

  • download Birt runtime from: http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_3_0-201306131152/birt-runtime-4_3_0.zip

  • extract somewhere and set a new Environment variable BIRT_HOME=path_to_where_you_extracted

  • remember to add your database library into \ReportEngine\lib , (ex: jtds.jar)

  • Open a console inside ReportEngine dir and run: genReport.bat -f PDF -o PATH/GENERATED_REPORTS/REPORT.pdf -F "PATH/TO/REPORT.rptdesign"

And that's all what I needed to do

like image 33
McCoy Avatar answered Oct 20 '22 00:10

McCoy