1

Following the tutorial in this post, I could generate the headless eclipse plugin working in eclipse IDE.

By following Paul's recommendation, I tried to creating a .product file and exporting it.

Beforehand, I needed to make product configuration, and I followed the instruction in this site - http://wiki.eclipse.org/FAQ_How_do_I_create_an_Eclipse_product%3F

This is productConfiguration.product that was 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 wizard:

enter image description here

enter image description here

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

enter image description here enter image description here

What might be wrong?

Community
  • 1
  • 1
prosseek
  • 182,215
  • 215
  • 566
  • 871

1 Answers1

1

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 ID (plugin ID + "." + extension ID) to the product configuration.

<product id="myplugin.foo" ...
bgerth
  • 1,256
  • 1
  • 12
  • 19