HTML Format for report viewing [message #44033] |
Tue, 07 June 2005 19:31 |
Eclipse User |
|
|
|
Originally posted by: javaforum2004.yahoo.com
Hi,
I have used lattest build of BIRT i.e. 1.0.
I am trying to view the test report (in HTML format) which comes with the
installation (test.rptdesign). I use the engine API and use the same
program given as example in Integrating BIRT using the report engine.
And to exexute the program I use following java command:
java RunReport test.rptdesign -h sample=Hello
But I am getting following error:
SEVERE: Error.OutputFormatNotSupported
Report C:/test.rptdesign run failed.
org.eclipse.birt.report.engine.api.EngineException: The output format html
is not supported.
Can anybody please help me to solve my problem?
Thanks in advance.
|
|
|
|
|
Re: HTML Format for report viewing [message #44549 is a reply to message #44335] |
Wed, 08 June 2005 19:43 |
Eclipse User |
|
|
|
Originally posted by: javaforum2004.yahoo.com
Hi Reto,
Thanks. I already added all the .jar files into classpath, and then I
compiled the file.
So no error in compilation but when I execute it then getting the same
error.
Don't know why its giving such error, I used the same things in tomcat to
use inbuilt viewer and it works.
Jimmy
|
|
|
Re: HTML Format for report viewing [message #55259 is a reply to message #44549] |
Fri, 08 July 2005 15:29 |
Eclipse User |
|
|
|
Originally posted by: benn.tilby.tangozebra.com
Hi
I am getting exactly the same problem ie: BIRT 1.0 (with Eclipse 3.1)
running the sample java application.
I have added all the suggested jars to the classpath but I am still
getting the error "org.eclipse.birt.report.engine.api.EngineException: The
output format html is not supported."
Did you find a solution to this??
Thank you.
Benn.
|
|
|
|
Re: HTML Format for report viewing [message #57945 is a reply to message #55259] |
Thu, 14 July 2005 03:04 |
Eclipse User |
|
|
|
Originally posted by: CyberReefGuru**n.o_s.p.a.m**.hotmail.com
Hi Benn. I was having the same problem. You need to set the
engine home value to your birt eclispe install directory. Once
I did that, everything worked fine.
Specifically, set the second line in the run method:
config.setEngineHome( "**PATH TO YOUR WEB-INF DIRECTORY HERE**" );
Note: I didn't change my class path, so birt seems to need
the plugin xml files in the web-inf directory. Here is a list
of the jar I am referencing.
Tidy.jar
commons-cli-1.0.jar
commons-codec-1.3.jar
core.jar
dte.jar
engine.jar
js.jar
model.jar
oda.jar
I don't know which are necessary:
-Tom
In article <a56225d8a6596e88532377700ac4f13b$1@www.eclipse.org>,
benn.tilby@tangozebra.com says...
> Hi
> I am getting exactly the same problem ie: BIRT 1.0 (with Eclipse 3.1)
> running the sample java application.
>
> I have added all the suggested jars to the classpath but I am still
> getting the error "org.eclipse.birt.report.engine.api.EngineException: The
> output format html is not supported."
>
> Did you find a solution to this??
>
> Thank you.
> Benn.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04625 seconds