RCP: Problems when generating PDF files with RCP

Veröffentlicht von

Recently I ran into a problem in my RCP application during the generation of a PDF file from a BIRT report. This only happened when trying to run the export from the exported product:

1

The first problem was an "Error.OutputFormatNotSupported".

This was a little bit strange, since I would have expected some syntax errors in my project trying to use stuff from another plugin that is referenced to my project.

Anyway, I was able to fix this by adding "org.eclipse.birt.engine.emitter.pdf" to my run configuration. After that I got another error:

org.eclipse.birt.report.engine.api.engineexception cant create data engine

Remembering that I am using JavaScript in my BIRT report, the approach was similar. Just a missing reference to "org.eclipse.birt.report.engine.script.javascript".

2

After that, the report was working from Eclipse as well as from the exported project. 

Here is a kitten:

3

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.