Reputation: 87
I am writing Eclipse Plugin to support custom programming language. I want to specify some default preferences (like default Perspective id, showing line numbers, autosave resources before launch) using plugin_customization.ini
.
The problem is that there are two other plugin_customization.ini
files for plugins in folders org.eclipse.epp.package.standard_2.0.2.20140224-0000
and org.eclipse.platform_4.3.2.v20140221-1700
(both stored in eclipse/plugins
) in Eclipse standard package and their plugin_customization.ini
files somehow seem to have higher priority then my file (org.eclipse.epp.package.standard_2.0.2.20140224-0000
comes first).
How can I change this order to make my plugin's plugin_customization.ini
primary preferences file? Is there any other way to define preferences I mentioned?
Upvotes: 5
Views: 5677
Reputation: 111142
The plugin_customization.ini for the product that Eclipse is asked to run (via the -product entry in the eclipse.ini) is the one that is used. Eclipse packages often contain more than one product which is why you see multiple files.
You can specify the file to use by specifying the -pluginCustomization
option on the command line or in the eclipse.ini
-pluginCustomization
/path-to-file/plugin_customization.ini
It is also possible to use a plugin that uses the org.eclipse.core.runtime.products
extension point to declare a new product and build a customized Eclipse RCP that runs this product - that is what the org.eclipse.epp.package.standard plugin is doing.
Upvotes: 6