Tycho plugin for eclipse product is not creating launcher.ini file

262 Views Asked by At

I am in the process of Maven-izing an existing Eclipse plugin product build, using Tycho. Unfortunately, it is not packaging the launcher ini file.

However, this is present when I export the product from Eclipse.

Is there any configuration in the pom or elsewhere that I need to mention something?

Product File

<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product name="Eclipse Product" uid="Product" id="prod-plugin.Product1" application="org.eclipse.ui.ide.workbench" version="4.0.0" useFeatures="false" includeLaunchers="true">

   <aboutInfo>
      <image path="/prod-plugin/icons/prod128.png"/>
      <text>
         An Eclipse Application
      </text>
   </aboutInfo>

   <configIni use="default">
   </configIni>

   <launcherArgs>
      <programArgs>-consoleLog-Xss512m
      </programArgs>
      <vmArgs>-Xms1G -Xmx3G -Xss1G -Dfile.encoding=UTF-8
      </vmArgs>
   </launcherArgs>

   <windowImages i16="/prod-plugin/icons/prod16.png" i32="/prod-plugin/icons/prod32.png" i48="/prod-plugin/icons/prod48.png" i64="/prod-plugin/icons/prod64.png" i128="/prod-plugin/icons/prod128.png" i256="/prod-plugin/icons/prod256.png"/>

   <splash
      location="prod-plugin"
      startupProgressRect="2,277,655,10"
      startupMessageRect="7,259,590,18"
      startupForegroundColor="FFFFFF" />
   <launcher name="prod">
      <win useIco="false">
         <bmp/>
      </win>
   </launcher>

   <vm>
      <windows include="true">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows>
   </vm>

   <plugins>
      <plugin id="prod-plugin"/>
      .....
   </plugins>

   <configurations>
      <plugin id="org.apache.felix.scr" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.felix.common" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.felix.event" autoStart="true" startLevel="3" />
      <plugin id="org.eclipse.felix.simpleconfigurator" autoStart="true" startLevel="1" />
   </configurations>

   <preferencesInfo>
      <targetfile overwrite="false"/>
   </preferencesInfo>

   <cssInfo>
   </cssInfo>

</product>
0

There are 0 best solutions below