Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to configure birt jars in eclipse
How to configure birt jars in eclipse [message #765836] Wed, 14 December 2011 13:45
Dan  is currently offline Dan
Messages: 6
Registered: November 2011
Junior Member
Hi --

When I run my app in eclipse, I put BIRT's jar files in the WEB-INF/lib directory. When I do this, all works fine...

But, because there are so many BIRT jar files, I would rather if they were separated from all the other jars already in the WEB-INF/lib directory. I created a {workspace}/lib/birt directory for the jars, added them to the run configuration, but when I first run my app and request a report I get a NPE when factory below is accessed:

IReportEngineFactory factory = (IReportEngineFactory) Platform
.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);

I have tried walking through the BIRT source but don't really understand why this configuration doesn't work.

Can you shed some light on this?

Thanks,
Dan

PS. I had also tried zipping all the BIRT jars into one jar (with jarjar and ant's zip task) but that didn't seem to work either.
Previous Topic:setting resource folder for getReport.bat
Next Topic:BIRT cause out of memory permgen space
Goto Forum:
  


Current Time: Thu Apr 17 17:33:40 EDT 2014

Powered by FUDForum. Page generated in 0.02958 seconds