In your plugin you define the product using the org.eclipse.core.runtime.products
extension point - something like:
<extension
id="product"
point="org.eclipse.core.runtime.products">
<product
name="%product.name"
application="org.eclipse.e4.ui.workbench.swt.E4Application">
.. more ...
The product id is then the plugin id plus the value of the id
attribute, so something like pluginid.product
. This is what you specify in the product configuration. The product configuration editor should show you this id in the list of available products.
Update:
I have not seen a good explanation of what the ID
field in the product file is for, possibly something to do with the p2 installation code. I have seen discussions that say it can cause errors if it matches other ids. Using a unique id works.