This is the 3rd blog for making standalone headless RCP. For the other two blogs check the references.
In this blog, we are going to show what is needed for an application that depends on other plugins. For the example, we use JDT and LTK, and show to how to implement a rename refactoring tool.
Add source code
You’ll have a lot of errors when you don’t set up the dependencies correctly.
Using Quick help, you can add required plugins.
You see the plugin is added in MANIFEST.
However, the simplest way is to add the dependences in MANIFEST.MF.
Don’t forget to set the singleton flag.
You need to execute run configuration to click the “Add Required Plug-ins” button for both application and product.
Update the product
Go to the product configuration and update using “Add Required Plug-ins”