[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: RCP, JasperReports and classloader

Artur Szaturski wrote:


Hi Dara,

I had the same problem. I added following lines to my code.

Thread cur = Thread.currentThread();
ClassLoader save = cur.getContextClassLoader();
cur.setContextClassLoader(JasperCompileManager.class.getClassLoader());

I found this solution on this group (or on the eclipse.platform.rcp)


The other way is to set your plugin to use buddy classloading. Then any plugins that want to submit datasources add a buddy register line to their manifest file.


There is descriptions of the buddy classloading in the eclipse help, around the 3rd party libraries section.

Later,
PW