Either way open a bug.  In Kepler we used to detect EE changes and force a
re-resolve of everything on restart.  I thought that was being done in
Luna, but it sounds like it is not.

Tom





From:   BJ Hargrave/Austin/IBM@IBMUS
To:     Equinox development mailing list <[email protected]>,
Date:   04/09/2014 07:43 AM
Subject:        Re: [equinox-dev] Serious problems with EE Java 1.8 (and EE
            resolving in general) on Luna
Sent by:        [email protected]



If you change the underlying JRE, you should probably launch with -clean to
flush the cached resolve state.
--


                                                                       
 BJ Hargrave                                                           
 Senior Technical Staff Member, IBM                   office: +1 386 848 1781
 OSGi Fellow and CTO of the OSGi Alliance             mobile: +1 386 848 3788
 [email protected]                                                   
                                                                       








From:        Tom Schindl <[email protected]>
To:        [email protected]
Date:        2014/04/09 08:16
Subject:        [equinox-dev] Serious problems with EE Java 1.8 (and EE
resolving in general) on Luna
Sent by:        [email protected]



Hi,

I'm encountering strange problems with Luna M6 and EE 1.8. The scenario
is like this:

We provide a prebuilt distro where bundles require an EE of 1.8 if I
download this distro and launch the IDE with a JDK 1.7 naturally those
bundles do not resolve but stay in the INSTALLED state and a diag
appropriately tells me

> osgi> diag 205
> org.eclipse.fx.core [205]
>   Unresolved requirement: Require-Capability: osgi.ee;
filter:="(&(osgi.ee=JavaSE)(version=1.8))"
>
> osgi>

Everything ok but now the strange thing starts to happen. If I shutdown
the IDE and then launch with JDK8 the bundles do not get resolved either
and diag reports the same problem so it looks like the resolve is cached!

BTW the same is true the other way round as well:
* Launch with Java8 (EE 1.8 bundles are RESOLVED)
* Launch with Java7 (EE 1.8 bundles are STILL RESOLVED)

I think this is a major Bug in Equinox on Luna!

Tom
_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev


<<inline: graycol.gif>>

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to