Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Product Build with Buckminster(Missing native laucher and libcairo_swt.so)
Product Build with Buckminster [message #657610] Thu, 03 March 2011 13:37
Joaquin Morcate is currently offline Joaquin MorcateFriend
Messages: 52
Registered: March 2010
Member
Hi all!

I'm trying to build a RCP product using Buckminster and I don't get the native launcher. I have found this thread in the forum missing native launcher? but David's solution does not work for me; actually I delete and recreate my workspace in each build.

I have defined a product based in features that includes net.morcate.myApplication.feature that, in turn, includes all my plugins and has org.eclipse.rcp as the only included feature. In myApplication.feature i have also the product.ant script and the buckminster cspex file defining the create.product action. If I call the action from the IDE the RCP is built without problems, but if I try a headless build the native lancher (eclipse executable) and the libcairo-swt.so library are missing. Looking at the console output I see that the IDE uses org.eclipse.equinox.launcher_1.1.0.v20100507.jar while the headless uses org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jarThere are not other relevant differences in the console output. If I add the org.eclipse.equinox.executable to the included features list in net.morcate.myApplication.feature (as discussed in the thread quoted above) I get both: the laucher and the library but I get also some other stuff that does not make sense: another laucher, an about folder, ... as David says in his comments. So, I think this is not the right solution.

Could somebody please provide some help??

This are some of my settings that can help to discover what I'm doing wrong:

This is my target (in net.morcate.myApplication.feature):
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="console2.target">
<locations>
<location includeAllPlatforms="true" includeMode="slicer" type="InstallableUnit">
<unit id="org.jdom" version="1.1.1.v201101151400"/>
<repository location="http://localhost/orbitMirror"/>
</location>
<location includeAllPlatforms="true" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.equinox.executable.feature.group" version="3.4.1.R36x_v20100823-7M7K7JF90dnJ-WLf3cf4yi"/>
<unit id="org.eclipse.rcp.feature.group" version="3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T"/>
<unit id="org.eclipse.rcp.sdk.id" version="3.6.0.M20100909-0800"/>
<repository location="http://localhost/HeliosMirror"/>
</location>
</locations>
</target>

This is my product file (in net.morcate.myApplication.feature):
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product name="S3B Console" uid="net.morcate.myApplication.product" id="net.morcate.myApplication.product" application="net.morcate.myApplication.application" version="1.0.0.qualifier" useFeatures="true" includeLaunchers="true">

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

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

   <plugins>
   </plugins>

   <features>
      <feature id="net.morcate.myApplication.feature" version="1.0.0.qualifier"/>
   </features>


</product>

and this is my feature.xml file
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="net.morcate.myApplication.feature"
      label="Feature"
      version="1.0.0.qualifier">

   <description url="http://www.example.com/description">
      [Enter Feature Description here.]
   </description>

   <copyright url="http://www.example.com/copyright">
      [Enter Copyright Description here.]
   </copyright>

   <license url="http://www.example.com/license">
      [Enter License Description here.]
   </license>

   <includes
         id="org.eclipse.rcp"
         version="0.0.0"/>

   <plugin
         id="net.morcate.myApplication"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="net.morcate.myApplication.alerts"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="net.morcate.myApplication.datastoreclasses"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="net.morcate.myApplication.clientserverkit"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="net.morcate.myApplication.utilities"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="net.morcate.myApplication.common"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

   <plugin
         id="org.jdom"
         download-size="0"
         install-size="0"
         version="0.0.0"
         unpack="false"/>

</feature>
Previous Topic:How to tell Buckminster to prefer source bundle?
Next Topic:[git-reader] Materializing components from different sub-paths of the same repository
Goto Forum:
  


Current Time: Fri Apr 26 16:06:36 GMT 2024

Powered by FUDForum. Page generated in 0.03190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top