Adding a plugin or feature
The steps for adding a plug-in (one small part of IBEX, such as the blocks view) or feature (a larger collection of plug-ins, such as CSS) to IBEX are:
Add the plug-in to
feature.base:Open
feature.xmlinuk.ac.stfc.isis.ibex.feature.baseGo to “Included Plug-ins” (or “Included Features”) tab and click “Add…”
Find your new plug-in in the list and add it
Add the plug-in to
ibex.productOpen
ibex.productinuk.ac.stfc.isis.ibex.e4.client.productGo to “Configuration” tab and click “Add…” next the “Start Levels” section
Find your new plug-in in the list and add it
Convert the plug-in to a Maven project.
Right-click on the plug-in and select Configure > Convert to Maven Project
Click “Finish”. This should create a
pom.xmlinside the project.
Add the new plug-in to the Parent POM
Select the
pom.xmlfile inuk.ac.stfc.isis.ibex.client.tycho.parentOn the overview tab click “Add…” under the Modules section
Select the new plug-in from the list
Enable the “Update POM parent section in selected projects” option and click “OK”
Save it
Edit the plug-in
pom.xmlfileSelect the pom.xml file
Open the pom.xml tab
Change/add the packaging to
eclipse-plugin(oreclipse-test-pluginif it’s a unit test plugin)Remove the build section
Remove the
groupIDand version entries outside of parentVerify that the resulting plug-in POM looks like an existing
pom.xmlfor a similar plugin