Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » One last time...Plugin portage help
One last time...Plugin portage help [message #200554] Mon, 23 February 2004 22:39
Eclipse UserFriend
I've heard a lot of different things in response to my questions about
porting my 2.1.2 plugins to 3.0 M7. I was wondering if someone could give
a rundown of exactly what my best approaches would be. Here's the
situation:

My plugins do import the org.eclipse.ui file and use some of the changed
parts. Should I change my plugin to include the import of
org.eclipse.ui.ide? Also, right now the error I get with my plugin is
this:

The selected wizard could not be started.
Reason:
Plug-in com.ibm.ws.build.plugin was unable to load class
com.ibm.ws.build.plugin.create.PluginImportWizard

Also, with M7 do I need to include org.eclipse.core.runtime.compatibility
or should it do that for me when it detects that my plugin are 2.x plugins?

In addition, if someone could explain to me how I could check to see if my
plug-in references the internals of some of the changing API's. I jsut
need a guideline of what to look for in my code, but I think that my
program does not do this.

Thank you so much for all the help,
Jeremiah Richardson

Below is a copy of the dependencies in my plugin.xml and the .log file
created from the error:

plugin.xml dependecies:

<requires>
<import plugin="com.ibm.ws.build.wsant" version="5.0.0"
match="compatible"/>
<import plugin="org.apache.xerces"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.swt"/>
<import plugin="org.eclipse.debug.core"/>
<import plugin="org.eclipse.debug.ui"/>
<import plugin="org.eclipse.jdt.launching"/>
<import plugin="org.eclipse.jdt.core"/>
<import plugin="org.eclipse.ui.externaltools"/>
</requires>


log file:

!ENTRY org.eclipse.core.runtime 4 2 Feb 23, 2004 22:38:35.53
!MESSAGE Attempt to activate a disabled plug-in: "com.ibm.ws.build.plugin".
!ENTRY org.eclipse.core.runtime 4 1 Feb 23, 2004 22:38:35.53
!MESSAGE Plug-in com.ibm.ws.build.plugin was unable to load class
com.ibm.ws.build.plugin.create.PluginImportWizard.
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.compatibility.PluginActivator.star t()
at
org.eclipse.osgi.framework.internal.core.BundleContext.start Activator(BundleContext.java:1071)
at
org.eclipse.osgi.framework.internal.core.BundleContext.start (BundleContext.java:991)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:403)
at org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle .java:312)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:133)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:125)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:114)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:171)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:84)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:168)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.creat eExecutableExtension(WorkbenchWizardElement.java:96)
at
org.eclipse.ui.internal.dialogs.ImportWizard$1.createWizard( ImportWizard.java:60)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run(Wo rkbenchWizardNode.java:133)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:819)
at org.eclipse.core.runtime.Platform.run(Platform.java:493)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(Wo rkbenchWizardNode.java:114)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:84)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizar d(WorkbenchWizardNode.java:112)
at
org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(Wiz ardSelectionPage.java:96)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:677)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.jav a:402)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2029)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:647 )
at org.eclipse.jface.window.Window.open(Window.java:627)
at
org.eclipse.ui.actions.ImportResourcesAction.run(ImportResou rcesAction.java:149)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:536)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2029)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1550)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:265)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:47)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:257)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
Nested exception:
org.eclipse.core.runtime.CoreException: Attempt to activate a disabled
plug-in: "com.ibm.ws.build.plugin".
at
org.eclipse.core.internal.plugins.PluginDescriptor.throwExce ption(PluginDescriptor.java:379)
at
org.eclipse.core.internal.plugins.PluginDescriptor.pluginAct ivationEnter(PluginDescriptor.java:357)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:436)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:406)
at
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:48)
at
org.eclipse.osgi.framework.internal.core.BundleContext$1.run (BundleContext.java:1054)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContext.start Activator(BundleContext.java:1050)
at
org.eclipse.osgi.framework.internal.core.BundleContext.start (BundleContext.java:991)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:403)
at org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle .java:312)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:133)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:125)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:114)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:171)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:84)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:168)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardElement.creat eExecutableExtension(WorkbenchWizardElement.java:96)
at
org.eclipse.ui.internal.dialogs.ImportWizard$1.createWizard( ImportWizard.java:60)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$2.run(Wo rkbenchWizardNode.java:133)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:819)
at org.eclipse.core.runtime.Platform.run(Platform.java:493)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardNode$1.run(Wo rkbenchWizardNode.java:114)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:84)
at
org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizar d(WorkbenchWizardNode.java:112)
at
org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(Wiz ardSelectionPage.java:96)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:677)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.jav a:402)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2029)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:647 )
at org.eclipse.jface.window.Window.open(Window.java:627)
at
org.eclipse.ui.actions.ImportResourcesAction.run(ImportResou rcesAction.java:149)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:536)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2029)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1550)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:265)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:47)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:257)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
Previous Topic:ClassNotFoundException
Next Topic:Anyway to add buttons to main toolbar that toggle each others?
Goto Forum:
  


Current Time: Mon May 12 07:28:31 EDT 2025

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

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

Back to the top