[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Classpath problem when exporting RCP app

Hi,

my RCP app consists of a functionality plug-in and an application-launching plug-in. The former depends on an external .jar file I added to the project's Java Build Path. Now I want to export the application as an eclipse product. I added the .jar to Extra Classpath Entries in plugin.xml and had to remove it from the Java Build Path (double referencing -> build error). Now I can export my product without errors, but the .jar is not exported to the .zip file; so when my code uses a class from the .jar a NoClassDefError is thrown. The same happens when I run the app from within eclipse with the launch config that used to work prior to the changes described above.

I guess I've done something wrong, added the .jar in the wrong place or something like that. Can anyone give me advice on this?

Thanks & regards,
Martin