Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » headless eclipse - classpath issues
headless eclipse - classpath issues [message #119892] Tue, 21 October 2008 16:53
Natasha D'Silva is currently offline Natasha D'SilvaFriend
Messages: 25
Registered: July 2009
Junior Member
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.
Previous Topic:Conditional dependencies in manifest?
Next Topic:Managing Equinox Instances
Goto Forum:
  


Current Time: Mon May 13 16:13:17 GMT 2024

Powered by FUDForum. Page generated in 0.03556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top