Мы разрабатываем плагин, и запись в контекстном меню видима, и наша страница настроек отображается, когда мы тестируем плагин с запущенным приложением Eclipse. После Export...
Deployable plug-ins and fragments
into running Host
плагин установлен, но запись и страница не отображаются.
В прошлом он работал, но только один раз. Затем я попытался создать Feature-проект и включить наш плагин. Этот Export...
Deployable features
мы можем установить с помощью Install new Software...
, но он также не работает, чтобы показать запись и страницу.
Я также попробовал Export...
как Eclipse Product
. Может быть, файл .product разрушает правильную установку. Но с удалением этого файла он также не работает
Это часть plugin.xml для создания записей контекстного меню
<extension point="org.eclipse.ui.commands">
<category
id="testMenu.commands.category"
name="Sample Category">
</category>
<command
categoryId="testMenu.commands.category"
defaultHandler="io.testifi.cast.editor.eclipse.model.commands.CreateOrUpdateSuiteCommand"
id="testMenu.commands.CreateOrUpdateSuiteCommand"
name="CreateOrUpdateSuite">
</command>
<command
categoryId="testMenu.commands.category"
defaultHandler="io.testifi.cast.editor.eclipse.model.commands.UpdateSuiteFromXrayServerCommand"
id="testMenu.commands.UpdateSuiteFromXrayServer"
name="UpdateSuiteFromXrayServer">
</command>
<command
categoryId="testMenu.commands.category"
defaultHandler="io.testifi.cast.editor.eclipse.model.commands.NewProjectCommand"
id="testMenu.commands.NewProjectCommand"
name="NewProject">
</command>
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?after=additions">
<menu
icon="icons/testifi_T.png"
id="YYY"
label="TestifiProject">
</menu>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.jdt.ui.PackageExplorer?after=additions">
<menu
icon="icons/testifi_T.png"
id="YYY"
label="TestifiPackage">
</menu>
</menuContribution>
<menuContribution locationURI="popup:YYY?after=additions">
<command
commandId="testMenu.commands.CreateOrUpdateSuiteCommand"
icon="icons/testifi_T.png"
id="CreateOrUpdateSuite"
label="Create and Update complete Suite"
style="push"
tooltip="With this action will be all Scenarios and TestSteps Created or Updated to the Jira/Xray-Server. The created Scenarios will be added to the TestPlan(Suite).">
</command>
<command
commandId="testMenu.commands.NewProjectCommand"
icon="icons/testifi_T.png"
id="CreateProject"
label="Create Project in Atlassian/Jira/Xray"
style="push"
tooltip="Creates a Jira Project with the Projectname of this Eclipseproject. Generates also the ProjectKey of its Initials. This maybe clashs, then it will expand the Key.">
</command>
<command
commandId="testMenu.commands.UpdateSuiteFromXrayServer"
icon="icons/testifi_T.png"
id="AddAndRemoveTestKeys"
label="Get Suite from XrayServer"
style="push"
tooltip="This can bring Problems. So we do not have Implemented it yet.">
</command>
</menuContribution>
</extension>
<extension
id="TestifiCastEclipse"
point="org.eclipse.core.runtime.products">
<product
application="org.eclipse.e4.ui.workbench.swt.E4Application"
name="ToDo">
<property
name="appName"
value="ToDo">
</property>
</product>
</extension>
Так что он выглядит в приложении Eclipse Application 
(источник: flussmark.de )
То же, что и на странице настроек 
(источник: flussmark.de )
Не работает в запущенном хосте Eclipse, но, кажется, установлен 
(источник: flussmark.de )
Возможно, проблемы с проверкой делают проблему (как я могу это исправить?) 
(источник: flussmark.de )
Я ожидаю, что экспортированный плагин работает так же, как Run as Eclipse Application
.