Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » HTML Format for report viewing
HTML Format for report viewing [message #44033] Tue, 07 June 2005 19:31 Go to next message
Eclipse UserFriend
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 #44247 is a reply to message #44033] Wed, 08 June 2005 02:45 Go to previous messageGo to next message
Wins is currently offline WinsFriend
Messages: 70
Registered: July 2009
Member
Hi,

Can anyone help me on how to compile the RunReport.java and where to put
the class file after the compilation..

Thanks,
Wins
Re: HTML Format for report viewing [message #44335 is a reply to message #44033] Wed, 08 June 2005 08:21 Go to previous messageGo to next message
Reto is currently offline RetoFriend
Messages: 1
Registered: July 2009
Junior Member
Hi Jimmy
Yesterday I had the same problem.
I had to add all the jars from
C:\eclipse\plugins\org.eclipse.birt.report.viewer_1.0.0\birt \WEB-INF\lib
in the classpath. Then it worked.
This is described elswhere in the FAQ's but not in the description of
the test program. It also works only on eclipse 3.0 for me, not with 3.1

Hope this helps,
Reto


Jimmy wrote:
> 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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #57921 is a reply to message #55259] Wed, 13 July 2005 23:27 Go to previous messageGo to next message
Joe Rybacki is currently offline Joe RybackiFriend
Messages: 36
Registered: July 2009
Member
There's a missing line in the example:

Platform.getExtensionRegistry();

also you need to set the following environment variables:

-DRUN_UNDER_ECLIPSE=false -DBIRT_HOME=<path to your lib folder containing
the plugins>

"Benn" <benn.tilby@tangozebra.com> wrote in message
news:a56225d8a6596e88532377700ac4f13b$1@www.eclipse.org...
> 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 Go to previous message
Eclipse UserFriend
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.
>
>
Previous Topic:How to indent each group?
Next Topic:StockEntry not found
Goto Forum:
  


Current Time: Thu Jan 02 19:24:34 GMT 2025

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

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

Back to the top