Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[epp-dev] Missing or wrong osgi.requiredJavaVersion

Hi,

It seems that the Platform has started to require Java 1.7 in some of the core bundles (e.g. core.contenttype), which implies that all Mars packages should ship with p2 touchpoint instructions that add -Dosgi.requiredJavaVersion=1.7 to the eclipse.ini files. But that doesn't seem to be the case. If I'm not mistaken the following packages still specify their products with a pre-1.7 Java requirement:

    - modeling
    - reporting
    - jee
    - java
    - dsl

BTW., the Platform itself doesn't seem to specify respective touchpoint instructions at all:

    <unit id='toolingorg.eclipse.sdk.ide.ini.win32.win32.x86_64' version='4.5.0.I20150320-0800' singleton='false'>
      <provides size='2'>
<provided namespace='org.eclipse.equinox.p2.iu' name='toolingorg.eclipse.sdk.ide.ini.win32.win32.x86_64' version='4.5.0.I20150320-0800'/>
        <provided namespace='toolingorg.eclipse.sdk.ide' name='org.eclipse.sdk.ide.ini' version='4.5.0.I20150320-0800'/>
      </provides>
      <filter>
        (&amp;(osgi.arch=x86_64)(osgi.os=win32)(osgi.ws=win32))
      </filter>
      <touchpoint id='org.eclipse.equinox.p2.osgi' version='1.0.0'/>
      <touchpointData size='1'>
        <instructions size='2'>
          <instruction key='unconfigure'>
removeJvmArg(jvmArg:-Xms256m);removeJvmArg(jvmArg:-Xmx1024m);removeProgramArg(programArg:-showsplash);removeProgramArg(programArg:org.eclipse.platform);removeProgramArg(programArg:--launcher.XXMaxPermSize);removeProgramArg(programArg:256m);removeProgramArg(programArg:--launcher.defaultAction);removeProgramArg(programArg:openFile);removeProgramArg(programArg:--launcher.appendVmargs);
          </instruction>
          <instruction key='configure'>
addJvmArg(jvmArg:-Xms256m);addJvmArg(jvmArg:-Xmx1024m);addProgramArg(programArg:-showsplash);addProgramArg(programArg:org.eclipse.platform);addProgramArg(programArg:--launcher.XXMaxPermSize);addProgramArg(programArg:256m);addProgramArg(programArg:--launcher.defaultAction);addProgramArg(programArg:openFile);addProgramArg(programArg:--launcher.appendVmargs);
          </instruction>
        </instructions>
      </touchpointData>
    </unit>

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper




Back to the top