Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » genReport.bat usage(Usage of command line reports execution)
genReport.bat usage [message #778223] Wed, 11 January 2012 19:05 Go to next message
Esteban Lus Bietti is currently offline Esteban Lus BiettiFriend
Messages: 21
Registered: October 2011
Junior Member
Hi, I downloaded birt runtime 3_7_1.

I set the birt_home variable using the command:
set birt_home=C:\Xelere\birt-runtime-3_7_1\birt-runtime-3_7_1

then I´m executing this command:

C:\Xelere\birt-runtime-3_7_1\birt-runtime-3_7_1\ReportEngine>genReport.bat -f PD
F -o test.pdf -F samples\hello_world.rptdesign

I´m getting the following error:
C:\Xelere\birt-runtime-3_7_1\birt-runtime-3_7_1\ReportEngine>ECHO off
The input line is too long.
The syntax of the command is incorrect.

As far as I looked the command should run like this. Any advices?

Regards,

Esteban.

Re: genReport.bat usage [message #778230 is a reply to message #778223] Wed, 11 January 2012 20:08 Go to previous messageGo to next message
Esteban Lus Bietti is currently offline Esteban Lus BiettiFriend
Messages: 21
Registered: October 2011
Junior Member
I fount the solution to this. The problem was the path for the birt_home was too long just copied the folder to c:\ and it started working.
Re: genReport.bat usage [message #1495827 is a reply to message #778230] Tue, 02 December 2014 14:53 Go to previous message
Jesus Tomas Molina Campos is currently offline Jesus Tomas Molina CamposFriend
Messages: 1
Registered: December 2014
Junior Member
Other solution:

IN genReport.bat:

1.- Comment lines:

set BIRTCLASSPATH=
for %%i in (%BIRT_HOME%\ReportEngine\lib\*.jar) do set BIRTCLASSPATH=%%i;!BIRTCLASSPATH!


2.- Add line:

SET BIRTCLASSPATH=%BIRT_HOME%\ReportEngine\lib\*
Previous Topic:How to test Birt reports
Next Topic:Dynamic query with mongodb in BIRT
Goto Forum:
  


Current Time: Mon Dec 22 10:11:22 GMT 2014

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

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