Problems integrating BIRT report engine [message #56536] |
Tue, 12 July 2005 14:30 |
Eclipse User |
|
|
|
Originally posted by: benn.tilby.tangozebra.com
Hi, I am having problems integrating the report engine when running the
sample application RunReport from the 'integrating BIRT' guide. The log in
Eclipse 3.0 shows:
12-Jul-2005 14:52:51
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run
SEVERE: Error.OutputFormatNotSupported
Report test.rptdesign run failed.
org.eclipse.birt.report.engine.api.EngineException: The output format html
is not supported.
The correct string constant from HTMLRenderOption is definitely being sent
to the config.setEmitterConfiguration method so it seems there is no
corresponding entry in the eclipse ExtensionRegistry. I am sure I have all
the right lib jars and plugin jars in my classpath (30 in total) including
the one which is supposed to provide the functionality to generate html:
C:\Java\Eclipse\BIRT\WEB-INF\plugins\org.eclipse.birt.report .engine.emitter.html
Still I get the error above. Our migration to BIRT really depends on how far
I can get integrating the reporting engine into our web applications, so
solving this would be very helpful.
Thanks,
Benn Tilby, Software Developer (Tangozebra)
|
|
|
Re: Problems integrating BIRT report engine [message #56563 is a reply to message #56536] |
Tue, 12 July 2005 14:42 |
Eclipse User |
|
|
|
Originally posted by: joel.adm-concept.com
Hi
Verify you call correctly the "setEngineHome" method. I had the same
problem and it resolves it.
The "setEngineHome" must point at one of theses directory :
- " eclipse/plugins/org.eclipse.birt.report.viewer_1.0.0/birt/WE B-INF " if
you use the BIRT SDK
- "birt-runtime-1_0/Report Engine" if you use the BIRT Runtime
Good luck
Benn Tilby a écrit :
> Hi, I am having problems integrating the report engine when running the
> sample application RunReport from the 'integrating BIRT' guide. The log in
> Eclipse 3.0 shows:
> 12-Jul-2005 14:52:51
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask run
>
> SEVERE: Error.OutputFormatNotSupported
> Report test.rptdesign run failed.
>
> org.eclipse.birt.report.engine.api.EngineException: The output format html
> is not supported.
>
> The correct string constant from HTMLRenderOption is definitely being sent
> to the config.setEmitterConfiguration method so it seems there is no
> corresponding entry in the eclipse ExtensionRegistry. I am sure I have all
> the right lib jars and plugin jars in my classpath (30 in total) including
> the one which is supposed to provide the functionality to generate html:
>
> C:\Java\Eclipse\BIRT\WEB-INF\plugins\org.eclipse.birt.report .engine.emitter.html
>
> Still I get the error above. Our migration to BIRT really depends on how far
> I can get integrating the reporting engine into our web applications, so
> solving this would be very helpful.
>
> Thanks,
> Benn Tilby, Software Developer (Tangozebra)
>
>
|
|
|
Re: Problems integrating BIRT report engine [message #56672 is a reply to message #56563] |
Tue, 12 July 2005 15:59 |
Eclipse User |
|
|
|
Originally posted by: benn.tilby.tangozebra.com
Merci beaucoup. That was the answer.
I think that the Integrating BIRT guide is not clear enough on this point.
You need to copy all the files for the engine (plugin and lib jars) to the
lib folder when building a web application. You would naturally assume that
the engine.jar in here could then be referenced for the setEngineHome()
method. The bit which says that the engine in
eclipse/plugins/org.eclipse.birt.report.viewer_0.0.1/birt/WE B-INF must be
referenced is in a note for the 3M build, and no mention is made of
referencing the externally installed runtime engine.
Please could the BIRT developers be more thorough with the guides esp when
mentioning essential little files and where you place them.
Keep up the good work. Thank you!
"Bazinou" <joel@adm-concept.com> wrote in message
news:db0kt9$fdv$1@news.eclipse.org...
> Hi
>
> Verify you call correctly the "setEngineHome" method. I had the same
> problem and it resolves it.
>
> The "setEngineHome" must point at one of theses directory :
> - " eclipse/plugins/org.eclipse.birt.report.viewer_1.0.0/birt/WE B-INF " if
> you use the BIRT SDK
> - "birt-runtime-1_0/Report Engine" if you use the BIRT Runtime
>
> Good luck
>
> Benn Tilby a
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04008 seconds