headless eclipse - classpath issues [message #119892] |
Tue, 21 October 2008 12:53 |
Eclipse User |
|
|
|
Hi,
I am running eclipse in headless mode - from the command line.
I have extended the org.eclipse.core.runtime.applications point in my main
plugin which depends on several others:
com.abc - contains the class that extends IApplication,
depends on
com.xyz - which depends on
com.xyz.common,
com.xyz.utils,
org.eclipse.core
i.e. a mix of platform and my own other plugins.
com.xyz has a few internal packages that are marked as "hidden", but I
added com.abc as an exception to the visibility rules.
I launch from command line as follows:
java -cp
plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819. jar;plugins/com.xyz.jar
org.eclipse.equinox.launcher.Main -application com.abc.MainApp
The application begins to run, but I get a NoClassDefFoundError for one of
the classes in com.xyz.internal.
I have tried adding classpath entries to the Manifest of the plugin, but
this hasn't worked.
Any tips/suggestions would be appreciated,
thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.02906 seconds