Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Generating a report from command line
Generating a report from command line [message #639477] Tue, 16 November 2010 17:30 Go to next message
Neil Wang is currently offline Neil WangFriend
Messages: 105
Registered: July 2009
Senior Member
Hi,

I am investigating how to generate a BIRT report from command line. Is there a tutorial or example I can follow? please advise.

Neil
Re: Generating a report from command line [message #639486 is a reply to message #639477] Tue, 16 November 2010 17:32 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Neil,

In the runtime download there is a genReport.bat (.sh) file that calls
the ReportRunner class for command line generation.
birt-runtime-version\ReportEngine

type genReport to get a list of options.

Jason

On 11/16/2010 12:30 PM, Neil Wang wrote:
> Hi,
>
> I am investigating how to generate a BIRT report from command line. Is
> there a tutorial or example I can follow? please advise.
>
> Neil
Re: Generating a report from command line [message #639554 is a reply to message #639486] Tue, 16 November 2010 21:35 Go to previous messageGo to next message
Neil Wang is currently offline Neil WangFriend
Messages: 105
Registered: July 2009
Senior Member
Hi Jason,

Thank you for your comment.
I took at look at it and here are the parameters:
-F : rptdesign file
-o : output target file name
-p : page number
-l : locale

It looks like there is no parameter which takes the data source file. Please advise.

Neil
Re: Generating a report from command line [message #639565 is a reply to message #639554] Tue, 16 November 2010 22:17 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Neil,

The datasource should be in the design file. You can pass parameters to
do things like alter the query, location of a flat file etc.

Jason

On 11/16/2010 4:35 PM, Neil Wang wrote:
> Hi Jason,
>
> Thank you for your comment. I took at look at it and here are the
> parameters:
> -F : rptdesign file
> -o : output target file name
> -p : page number
> -l : locale
>
> It looks like there is no parameter which takes the data source file.
> Please advise.
>
> Neil
Previous Topic:HTML --> PDF to many blank lines (Birt 2.2)
Next Topic:Exception in reading temporary file for caching result rows.
Goto Forum:
  


Current Time: Thu Apr 18 14:05:27 GMT 2024

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

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

Back to the top