RCP MyLyn in RCP integrieren

lam_tr

Top Contributor
Hallo zusammen,

ich möchte gern den Task-UI-Editor von MyLyn in meiner RCP benutzen. Hab auch schon versucht die View "org.eclipse.mylyn.tasks.ui.views.tasks" in meiner Perspektive einzubinden. Hab dann noch weitere MyLyn Plugin in der Dependencies hinzugefügt:

org.eclipse.mylyn.bugzilla.ui;bundle-version="3.4.0",
org.eclipse.mylyn.bugzilla.core;bundle-version="3.4.0",
org.eclipse.mylyn.monitor.core;bundle-version="3.4.0",
org.eclipse.mylyn.monitor.ui;bundle-version="3.4.0",
org.eclipse.mylyn.tasks.core;bundle-version="3.4.0",
org.eclipse.mylyn.tasks.search;bundle-version="3.4.0",
org.eclipse.mylyn.tasks.ui;bundle-version="3.5.0",
org.eclipse.mylyn.context.core;bundle-version="3.4.0",
org.eclipse.mylyn.context.ui;bundle-version="3.4.0"

leider bekomme ich beim Ausführen dieser RCP eine Fehlermeldung, kann es sein dass ich noch weitere Plugin ergänzen muss?

Java:
!ENTRY org.eclipse.osgi 4 0 2010-09-02 15:50:08.927
!MESSAGE Application error
!STACK 1
java.lang.Error: Unresolved compilation problems: 
	The import org.eclipse.mylyn.internal.provisional.commons.ui.GradientDrawer cannot be resolved
	The import org.eclipse.mylyn.internal.provisional.commons.ui.PlatformUiUtil cannot be resolved
	PlatformUiUtil cannot be resolved
	GradientDrawer cannot be resolved to a type
	The method shouldApplyGradient(Event) of type new GradientDrawer(){} must override a superclass method
	PlatformUiUtil cannot be resolved

	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.<init>(TaskListView.java:65)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
	at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:63)
	at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:327)
	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
	at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:529)
	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
	at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
	at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
	at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
	at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:647)
	at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:574)
	at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
	at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:272)
	at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:981)
	at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2632)
	at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:2986)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2967)
	at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:771)
	at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1220)
	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
	at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
	at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1566)
	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4584)
	at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:1561)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2556)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at de.baw.cfopt.prozess.rcp.task.system.Application.start(Application.java:20)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

gruss lam
 

lam_tr

Top Contributor
hi Wildcard,

ich hab Mylyn plugins importiert und die TaskView-ID in der Perspektive aufgerufen und dieses Exception ist rausgekommen :)
 

Wildcard

Top Contributor
Mit importiert meinst du in den Workspace importiert? Warum denn das? Nimm die Bundles einfach in deine Target Platform auf, in den Workspace kommt nur der Teil den du selbst entwickelst.
 
Zuletzt bearbeitet:

Ähnliche Java Themen


Oben