Exporting a mute eclipse application results in the error "Product definition-plug -in not found"

Following the tutorial in this post , I could create a mute planet plugin running in an eclipse environment.

Following Paul's recommendations , I tried to create a .product file and export it.

In advance, I needed to configure the product, and I followed the instructions on this site - http://wiki.eclipse.org/FAQ_How_do_I_create_an_Eclipse_product%3F

This is a productConfiguration.product that has been generated automatically.

 <?xml version="1.0" encoding="UTF-8"?> <?pde version="3.5"?> <product useFeatures="false" includeLaunchers="true"> <configIni use="default"> </configIni> <launcherArgs> <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac> </launcherArgs> <plugins> </plugins> </product> 

I followed the master:

enter image description here

enter image description here

However, I received this error message. I tried without Synchronize before exporting , I got another error.

enter image description hereenter image description here

What could be wrong?

0
source share
1 answer

You need to add the org.eclipse.core.runtime.products extension to one of your plugins.

 <extension id="foo" point="org.eclipse.core.runtime.products"> <product application="com.example.FoorBarApp" name="foo"> <property name="appName" value="foo"/> </product> </extension> 

and add the identifier (plugin identifier + "." + extension identifier) ​​in the product configuration.

 <product id="myplugin.foo" ... 
+1
source

Source: https://habr.com/ru/post/927411/


All Articles