将插件添加到 eclipse 中会发生什么?
所有的注册表 Eclipse 在内部做什么?
我们有一个类似于 eclipse 的产品。我们正在尝试在其上添加版本控制。CVS 和 SVN jar 添加到插件文件夹中,添加到工作台的项目显示 SVN 和 CVS 选项。但是当涉及到 VSS 时,除了 jar 文件之外,它还需要 VSSplugins 文件夹,但在添加 VSSplugin 文件夹后它显示 VSS 配置选项。添加位置详细信息并保存后,当我们寻找团队选项卡时,它没有显示任何选项(选项如结帐,签入..等)。
并且工作区日志显示异常为
java.lang.NullPointerException
at org.vssplugin.ui.LabelDecorator.<clinit>(LabelDecorator.java:72)
at org.vssplugin.core.VSSPluginProvider.addProject(VSSPluginProvider.java:1457)
at org.vssplugin.ui.ConfigurationWizard$1.exec(ConfigurationWizard.java:86)
at org.vssplugin.core.SyncNotificationOperation.execute(SyncNotificationOperation.java:85)
at org.vssplugin.core.WorkspaceSyncModifyOperation$1.run(WorkspaceSyncModifyOperation.java:71)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.vssplugin.core.WorkspaceSyncModifyOperation.run(WorkspaceSyncModifyOperation.java:85)
at org.vssplugin.ui.UIUtils$2.run(UIUtils.java:233)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.vssplugin.ui.UIUtils.run(UIUtils.java:230)
at org.vssplugin.ui.UIUtils.run(UIUtils.java:222)
at org.vssplugin.ui.ConfigurationWizard.performFinish(ConfigurationWizard.java:82)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.openWizard(ConfigureProjectWizard.java:224)
at org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.shareProjects(ConfigureProjectWizard.java:124)
at org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run(ConfigureProjectAction.java:39)
at org.eclipse.team.internal.ui.actions.TeamAction$3.run(TeamAction.java:265)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:262)
at org.eclipse.team.internal.ui.actions.ConfigureProjectAction.execute(ConfigureProjectAction.java:33)
at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:514)
at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:548)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)