Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » osgi.configuration.area vs. simpleconfigurator
osgi.configuration.area vs. simpleconfigurator [message #1404318] Thu, 31 July 2014 08:40
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 12229
Registered: July 2009
Senior Member
We have a Product Configured as follows

<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>
<product name="Some IDE" uid="someide" id="somecompany.products.ide.at.application.architekturide" application="org.eclipse.ui.ide.workbench" version="43.2.0.qualifier" useFeatures="true" includeLaunchers="true">

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

   <launcherArgs>
      <vmArgs>-Declipse.p2.unsignedPolicy=allow
-Dusage_reporting_enabled=false
-Dfile.encoding=UTF-8</vmArgs>
      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
   </launcherArgs>

   <windowImages i16="icons/applications-engineering_16x16.png" i32="icons/applications-engineering_32x32.png" i48="icons/applications-engineering_48x48.png" i64="icons/applications-engineering_64x64.png" i128="icons/applications-engineering_128x128.png"/>

   <launcher name="eclipse">
      <solaris/>
      <win useIco="false">
         <bmp/>
      </win>
   </launcher>


   <vm>
   </vm>

   <plugins>
   </plugins>

   <features>
      <feature id="org.eclipse.equinox.p2.user.ui"/>
      <feature id="org.eclipse.rcp"/>
      <feature id="org.eclipse.platform"/>
      <feature id="somecompany.feature" version="43.2.0.qualifier"/>
      <feature id="somecompany.at.x86.feature" version="43.2.0.qualifier"/>
   </features>

   <configurations>
      <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
      <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" />
      <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
      <plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="4" />
   </configurations>

</product>


and we use a p2 touchpoint to move the osgi.configuration.area

instructions.configure=\
org.eclipse.equinox.p2.touchpoint.eclipse.setJvm(jvm:...);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-Dosgi.configuration.area=.eclipse);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-Xms256m);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-Xmx2g);\
org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg(jvmArg:-XX:MaxPermSize=256m);


After pugrading from juno to luna the product behaves very strange regarding P2/Updates

- In the About dialog i there is no plus for the tree of the product (it seems to be empty thus)
- We cannot install anything into the product since it even does not find org.eclipse .core.runtime and basic stuff like that (what is definitively there)

Is this a bug? am i missing an additional configuration in the touchpoint.

(As a Workaround) It helps to
- remove the touchpoint
- add tycho created p2 repo for the product to the update sites of the product

Thanks


Need professional support for Xtext, Xpand, EMF?
Go to: https://xtext.itemis.com
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Create local p2-mirror from target definition
Next Topic:Looking for SODA Service Oriented Device Architecture
Goto Forum:
  


Current Time: Wed Sep 19 21:26:40 GMT 2018

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

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

Back to the top