Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT in an Eclipse RCP application(Plugin dependencies issue)
BIRT in an Eclipse RCP application [message #808242] Mon, 27 February 2012 15:17 Go to next message
David B. is currently offline David B.Friend
Messages: 24
Registered: February 2012
Junior Member
Hi,
I am trying to use BIRT in an Eclipse RCP application, to run a report and export it as a DOC or PDF file.

I have got the following exception a lot:
...
org.eclipse.birt.report.engine.api.UnsupportedFormatException: The output format DOC is not supported.
at org.eclipse.birt.report.engine.api.impl.EngineTask.setupRenderOption(EngineTask.java:1941)
...

I also tried with the example RCP project I found here: wiki.eclipse.org/RCP_Example_%28BIRT%29_2.1#Download_Examples but I have the same error.

The only way I found to solve my problem so far is to include all the plugins that match org.eclipse.datatools* and org.eclipse.birt*, but this adds more than 300 plugins...

What plugins are actually needed to run BIRT in an Eclipse RCP application?

Thanks in advance.

David
Re: BIRT in an Eclipse RCP application [message #808560 is a reply to message #808242] Mon, 27 February 2012 22:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you want to use the viewer here in an rcp app here is a product
config file:
http://www.birt-exchange.org/org/devshare/deploying-birt-reports/1194-eclipse-product-configuration-file-for-webviewer-in-rcp/

Just to use use the RE API, should be less.
For doc output make sure you have the
org.eclipse.birt.report.engine.emitter.wpml plugin.

Jason

On 2/27/2012 10:17 AM, David B. wrote:
> Hi, I am trying to use BIRT in an Eclipse RCP application, to run a
> report and export it as a DOC or PDF file.
>
> I have got the following exception a lot:
> ...
> org.eclipse.birt.report.engine.api.UnsupportedFormatException: The
> output format DOC is not supported.
> at
> org.eclipse.birt.report.engine.api.impl.EngineTask.setupRenderOption(EngineTask.java:1941)
>
> ...
>
> I also tried with the example RCP project I found here:
> wiki.eclipse.org/RCP_Example_%28BIRT%29_2.1#Download_Examples but I have
> the same error.
>
> The only way I found to solve my problem so far is to include all the
> plugins that match org.eclipse.datatools* and org.eclipse.birt*, but
> this adds more than 300 plugins...
> What plugins are actually needed to run BIRT in an Eclipse RCP application?
>
> Thanks in advance.
>
> David
Re: BIRT in an Eclipse RCP application [message #808865 is a reply to message #808560] Tue, 28 February 2012 08:32 Go to previous messageGo to next message
David B. is currently offline David B.Friend
Messages: 24
Registered: February 2012
Junior Member
Thank you Jason, now I have it working with much less plugins.

David
Re: BIRT in an Eclipse RCP application [message #1012981 is a reply to message #808560] Fri, 22 February 2013 15:05 Go to previous messageGo to next message
Jerry Si is currently offline Jerry SiFriend
Messages: 5
Registered: February 2013
Junior Member
I have the same promble when I use birt 4.2.1 to build a Rcp application ,and I have import all the jars that related to birt .But still can't run the report.and the error massage is "PDF format is not supported".Did 4.2.1 different from 3.7.2 and other old version?
Re: BIRT in an Eclipse RCP application [message #1013173 is a reply to message #1012981] Fri, 22 February 2013 23:49 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

That error message indicates that the pdf emitter is not in your runtime set of plugins.

Jason
Re: BIRT in an Eclipse RCP application [message #1013196 is a reply to message #1012981] Sat, 23 February 2013 01:30 Go to previous message
Jerry Si is currently offline Jerry SiFriend
Messages: 5
Registered: February 2013
Junior Member
I think I can't find the emitter.config.pdf jar,where can I download it
Previous Topic:Trouble using Tribix Excel Emitter
Next Topic:I can't display the report using birt Rcp viewer
Goto Forum:
  


Current Time: Thu Apr 25 21:05:06 GMT 2024

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

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

Back to the top