Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] PDE build with p2.gathering=true -> no ".eclipseproduct" generated.

Title: Notice

Hello,

 

I am using PDE Build to build my eclipse based product (eclipse 3.5, CDT 6 and my own features and plugins).

 

My product is well generated but no “.eclipseproduct” is generated.

 

Actually I use PDE Build 3.5 with the classic headless build script “org.eclipse.pde.build_3.5.0.v20090527-1800\scripts\productBuild\productBuild.xml, and I set p2.gathering=true in my build.properties to generate p2 metadata. My product is featured based.

 

When debugging my PDEBuild process, I notice that the “org.eclipse.pde.internal.build.ProductGenerator.createEclipseProductFile(String)” method is not called. This seems to be due to the p2.gathering=true property. In deed, if I am not mistaking, n “org.eclipse.pde.internal.build.builder.FeatureBuildScriptGenerator.generateRootFilesAndPermissions()”  the call to ProductGenerator.generate is performed only if p2.gathering is set to false.

 

Previously I was building my product using eclipse 3.4 builder without p2 metadata generation and the “.eclipseproduct” was generated correctly.

 

I need this file to be generated because it is used by eclipse to set the private configuration area location:

The default location for a private configuration area is:

<user-home-dir>/.eclipse/<product-id>_<product-version>/configuration

The product id and version are obtained from the product marker file .eclipseproduct under the Eclipse install.

 

If anyone has any explanation to help me to generate the .eclipseproduct, I would be glad.

 

N;B. The config.ini file is well generated.

 

Arnaud

 

P.S. you can find below my .product file

 

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

<?pde version="3.5"?>

 

<product name="IngeDev" uid="com.ingenico.ingedev.product.ui.ingedev" id="com.ingenico.ingedev.product.ui.ingedev" application="org.eclipse.ui.ide.workbench" version="7.4.0.qualifier" useFeatures="true" includeLaunchers="true">

 

   <configIni use="default">

   </configIni>

 

   <launcherArgs>

      <programArgs>-Dosgi.instance.area.default=@user.home/IngeDev7_workspace</programArgs>

      <vmArgs>-Dosgi.requiredJavaVersion=1.6</vmArgs>

      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>

      <vmArgsWin>-Xms40m

-Xmx512m

-XX:MaxPermSize=256m

-XX:+AggressiveOpts

-XX:+UseFastAccessorMethods

-XX:CompileThreshold=100

-Djava.awt.headless=true

-Djava.awt.nativeDoubleBuffering=true</vmArgsWin>

   </launcherArgs>

 

   <windowImages/>

 

   <launcher name="IngeDev">

      <solaris/>

      <win useIco="true">

         <ico path="/com.ingenico.ingedev.product.ui/customizationFiles/ingeDev.ico"/>

         <bmp/>

      </win>

   </launcher>

 

   <vm>

   </vm>

 

   <license>

        <text>

      Here was my license

        </text>

  </license>

 

   <plugins>

   </plugins>

 

   <features>

      <feature id="org.eclipse.platform"/>

      <feature id="org.eclipse.cvs"/>

      <feature id="org.eclipse.cdt"/>

      <feature id="org.eclipse.gef"/>

      <feature id="com.collabnet.subversion.merge.feature"/>

      <feature id="com.sun.jna"/>

      <feature id="org.tigris.subversion.clientadapter.feature"/>

      <feature id="org.tigris.subversion.clientadapter.javahl.feature"/>

      <feature id="org.tigris.subversion.clientadapter.svnkit.feature"/>

      <feature id="org.tigris.subversion.subclipse"/>

      <feature id="org.tigris.subversion.subclipse.graph.feature"/>

      <feature id="org.tmatesoft.svnkit"/>

      <feature id="com.ingenico.ingedev.generic"/>

      <feature id="com.ingenico.ingedev.u32"/>

      <feature id="com.ingenico.ingedev.u32addons"/>

      <feature id="com.ingenico.ingedev.telium"/>

   </features>

 

 

</product>

 

 

 

 

About Ingenico: Ingenico is a leading provider of payment solutions, with over 15 million terminals deployed in more than 125 countries. Its 2,850 employees worldwide support retailers, banks and service providers to optimize and secure their electronic payments solutions, develop their offer of services and increase their point of sales revenue. More information on www.ingenico.com.

 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.

 P Please consider the environment before printing this e-mail

 

 


Back to the top