BIRT Report Engine Installation Problem [message #714186] |
Wed, 10 August 2011 02:24 |
cbr125x Messages: 34 Registered: July 2011 |
Member |
|
|
I try to learn BIRT from Book "Integrating_and_Extending_BIRT_2nd_Edition",
I learn at BIRT Report Engine Installation
I already set the system variable %BIRT_HOME%
The steps :
1 From the command line, navigate to the directory where you installed BIRT Report Engine.
2 Navigate to the ReportEngine subdirectory.
3 To run the genReport script, run the appropriate file for your operating system:
■ On a Windows platform, run genReport.bat.
■ On a UNIX or Linux platform, run genReport.sh.
Enclose the value for a command line parameter in quotes. For example,
the following Windows platform command uses the value, Hello, for the test.rptdesign:
genReport -p "sample=Hello" "C:\birt-runtime-2_2_1\WebViewerExample\test.rptdesign"
genReport generates the required output file.
4 Open the output file. In this example, the file is C:\birt-runtime-2_2_1\WebViewerExample\test.html.
After do that steps in commandline, i get response like below :
"The input line is too long.
The syntax of the command is incorrect."
From the steps above, is there something wrong with that, btw i use BIRT 3_7_0 version and in the steps above i replace birt-runtime-2_2_1 to birt-runtime-3_7_0?
Thx
[Updated on: Wed, 10 August 2011 02:25] Report message to a moderator
|
|
|
Re: BIRT Report Engine Installation Problem [message #714201 is a reply to message #714186] |
Wed, 10 August 2011 03:10 |
|
I believe this is a known issue on windows, with the classpath string in
the genReport.bat file. If the report engine (BIRT_HOME) is a highly
nested folder it makes the command string to long. Try moving the
engine to shorten the string or set the system classpath to add the jars
and remove the -cp "%BIRTCLASSPATH%" setting.
I got this to work on windows using a birt home of c:/3.7runtime.
Jason
On 8/9/2011 10:24 PM, cbr125x wrote:
> I try to learn BIRT from Book "Integrating_and_Extending_BIRT_2nd_Edition",
> I learn at BIRT Report Engine Installation
>
> I alreay set the system variable %BIRT_HOME%
> The steps : 1 From the command line, navigate to the directory where you
> installed BIRT Report Engine.
>
> 2 Navigate to the ReportEngine subdirectory.
>
> 3 To run the genReport script, run the appropriate file for your
> operating system:
> ■ On a Windows platform, run genReport.bat.
> ■ On a UNIX or Linux platform, run genReport.sh.
> Enclose the value for a command line parameter in quotes. For example,
> the following Windows platform command uses the value, Hello, for the
> test.rptdesign:
> genReport -p "sample=Hello"
> "C:\birt-runtime-2_2_1\WebViewerExample\test.rptdesign"
>
> genReport generates the required output file.
> 4 Open the output file. In this example, the file is
> C:\birt-runtime-2_2_1\WebViewerExample\test.html.
>
> After do that steps in commandline, i get response like below :
> "The input line is too long.
> The syntax of the command is incorrect."
>
> From the steps above, is there something wrong with that, btw i use
> BIRT 3_7_0 version and in the steps above i replace birt-runtime-2_2_1
> to birt-runtime-3_7_0?
> Thx
|
|
|
|
Powered by
FUDForum. Page generated in 0.02968 seconds