|
Re: rap using the birt3.7.1, IReportEngineFactory is null [message #876892 is a reply to message #876631] |
Fri, 25 May 2012 13:19 |
|
Do not use the POJO runtime, just use the plugins from the allinone
download. Make sure you have the plugins as listed in the following
config file:
http://www.birt-exchange.org/org/devshare/deploying-birt-reports/1194-eclipse-product-configuration-file-for-webviewer-in-rcp/
You should not have to add anything to the classpath just add the
appropriate plugin dependencies. In the link above it contains another
link to some api example, two of which are RCP apps. One uses the
report engine and the other uses the birt viewer. While the link is an
older version of BIRT, I tested it with 3.7.1 and it worked for me.
Jason
On 5/24/2012 9:46 PM, ocean wrote:
> The IReportEngineFactory is null.
> -----------------------------------------------------
> config = new EngineConfig();
> // config.setEngineHome("D:/document/eclipse/birt/tools/birt-runtime-
> 3_7_1/ReportEngine");
> config.setLogConfig("d:\\logs", java.util.logging.Level.ALL);
> IReportEngineFactory factory = (IReportEngineFactory) Platform
> createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
> engine = factory.createReportEngine(config);
> ------------------------------------------------------
>
> All ReportEngine / lib JAR has been added to the runtime the classpath,Refer to the attached
|
|
|
|
Powered by
FUDForum. Page generated in 0.03556 seconds