Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem Exporting Eclipse RCP Product

22 views
Skip to first unread message

Gibson

unread,
Jan 22, 2007, 4:28:34 AM1/22/07
to
Hi all,

ich developed an RCP application with Eclipse 3.2.1 (Build id:
M20060921-0945) and JRE 1.5.0.9-b03 on a win200 maschine, containig a
couple of plugins
1 plugin, containing the perspective and application
2 plugins, for functionality
1 Plugin, containing the product

both the eclipse application and the product run in the ide.

while exporting i get the following error:
A Cylce was detected when generating classpath ...

There are plugins mentioned which neither listed in the dependencies
nor run ... nor target configuration.
(i.g com.bdaum.aoModeling_1.1.2)

If i drop all dependencies, the export works. But it generates a
logs.zip. the log starts with the following error:
The import org.eclipse cannot be resolved

where ether the import comes from

if i add the dependencies again, extract my jars und replace plugin.xml
and manifest.mf, my application starts and generates the foolwing
error:

org.osgi.framework.BundleException: The activator
de.myRcp.perspective.Activator for bundle de.myRcp.perspective is
invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:141)

at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:962)

at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)

at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)

at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)

at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)

at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)

at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)

at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)

at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)

at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)

at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)

at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)

at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)

at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)

at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)

at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)

at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:74)

at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)

at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.Error: Unresolved compilation problems:
The import org.eclipse cannot be resolved
The import org.eclipse cannot be resolved
The import org.osgi cannot be resolved
AbstractUIPlugin cannot be resolved to a type
BundleContext cannot be resolved to a type
BundleContext cannot be resolved to a type
ImageDescriptor cannot be resolved to a type


It doesnt matter if export an eclipse application or the product.

thanks fpr any hints.

best regards

Gibson

unread,
Feb 1, 2007, 3:13:47 AM2/1/07
to
Using Eclipse 3.2.0 solved the problem

0 new messages