Bug 473450 - How to run genReport.bat
Summary: How to run genReport.bat
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 4.4.2   Edit
Hardware: PC Windows Server 2008
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-24 01:19 EDT by Colin Sutton CLA
Modified: 2015-07-24 01:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Sutton CLA 2015-07-24 01:19:43 EDT
1. genreport.bat -h 
 always gives the response 'The input line is too long'.
It always gives the same response for any command line

If I comment out the following two lines in genReport.bat and replace them with the next line genre port.bat runs OK.

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

2. genReport.bat only takes single character parameters from the command line, e,g you must specify '-f pdf' not '-format pdf' as documented.

3. if -runrender is specified, genReport.bat always outputs html; it ignores the format  (f) parameter.

4. All tables in the rptdesign must have complete bindings - even if they run OK in the designer with only some of the dataset values - after refreshing the table binding they work from the batch file.
Comment 1 Colin Sutton CLA 2015-07-24 01:21:00 EDT
Same with run-time 4.5.0