Skip to main content



      Home
Home » Archived » BIRT » Integrating birt with PHP
Integrating birt with PHP [message #253219] Wed, 22 August 2007 05:27 Go to next message
Eclipse UserFriend
Originally posted by: hawat23.yahoo.fr

Hello,

I study the possibility to use Birt to generate reports from a php
application.
Do you have an experience of this type of needs?

I have seen here (http://www.eclipse.org/birt/phoenix/deploy/usingPHP.php)
that the best way is to use a tomcat server.

I would prefer to call directly an executable to generate a report. Is it
possible to do that?

Another point, I don't understand "However, this would require changes to
Eclipse web server".
What is "Eclipse web server" ? And is it a viable/good solution ?

Last point, is it possible to share several models of report for several
birt designer application?

Thanks you,

Chris
Re: Integrating birt with PHP [message #253284 is a reply to message #253219] Wed, 22 August 2007 15:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ali.jetha.auf.org

Hello,

You can use the PHP shell_exec() function to call BIRT in command line.
Make sure you look at the ReportEngine (Birt runtime) folder where you
will find a shell script named genReport.sh.

In the past two months, I have used several models of report with
designers in Linux and Windows and I havent encountered a problem.

AJ

Chris a écrit :
> Hello,
>
> I study the possibility to use Birt to generate reports from a php
> application.
> Do you have an experience of this type of needs?
>
> I have seen here
> (http://www.eclipse.org/birt/phoenix/deploy/usingPHP.php) that the best
> way is to use a tomcat server.
> I would prefer to call directly an executable to generate a report. Is
> it possible to do that?
>
> Another point, I don't understand "However, this would require changes
> to Eclipse web server".
> What is "Eclipse web server" ? And is it a viable/good solution ?
>
> Last point, is it possible to share several models of report for several
> birt designer application?
>
> Thanks you,
>
> Chris
>
Re: Integrating birt with PHP [message #253298 is a reply to message #253284] Thu, 23 August 2007 03:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hawat23.yahoo.fr

Thank you for your answer but I haven't found the script "genReport.sh".

Where can I exactly find it?

Chris
Re: Integrating birt with PHP [message #253309 is a reply to message #253298] Thu, 23 August 2007 09:13 Go to previous message
Eclipse UserFriend
Originally posted by: ali.jetha.auf.org

When you download the BIRT RUNTIME (Deployment section in the download
page) you will find a ReportEngine folder in the archive. In this
folder, you will find a genReport.sh and genReport.bat script depending
you want to use BIRT on a Linux or Windows system.

Make sure you set the environment variable BIRT_HOME before running the
script. In linux I think it should be something like:

export BIRT_HOME="Absolute PATH where your runtime folder is"

After that, you can use BIRT in command like with something like:

sh genReport.sh --format pdf --output report.pdf report.rptdesign

Have a nice day


Chris a écrit :
> Thank you for your answer but I haven't found the script "genReport.sh".
>
> Where can I exactly find it?
>
> Chris
>
>
>
Previous Topic:Retrieve oda password from *.rptdesign
Next Topic:BIRT2.1.3: NullPointerException at guessOS
Goto Forum:
  


Current Time: Thu Jul 17 20:56:12 EDT 2025

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

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

Back to the top