[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.ercp] Dev RCP app, launches from IDE but exported prod doesn't run

What am I doing wrong?

Developing first RCP application following "eclipse Rich Client Platform" book.

I have an application which runs from the IDE.  That is is works from

 Run > Run > Eclipse Application > my application

When the application is exported with Product Export Wizard the resulting product does not run. The significant errors in the log are:

org.eclipse.core.runtime.CoreException: Plug-in com.cprs.vuckdb_preferences was unable to load class com.cprs.vuckdb_preferences.Application.
.
.
org.eclipse.core.runtime.CoreException[1]: java.lang.ClassNotFoundException: com.cprs.vuckdb_preferences.Application


The plug-in is com.cprs.vuckdb_preferences

com.cprs.vuckdb_preferences.Application is the application entry point.

It looks like the plug in isn't being exported when the product is created. I can't figure out why. I can't find it as a jar, or even classes, in the target folder. Everything else seems to be there through.

This is Eclipse SDK 3.2, running in Java 1.5 compiled for Java 1.4, on Windows XP.

What am I doing wrong?