You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the target platform in eclipse contains two versions of org.apache.felix.scr (e.g. 2.2.6 and 2.2.10) and an eclipse product references only the older version (2.2.6.) and sets autostart to true, unexpected behaviour occurs at runtime:
If the product is based on features at runtime two versions of SCR will be started (only 2.2.6 would be expected):
If the product is based on bundles 2.2.10 is started (though 2.2.6 would be expected)
If autostart is set to false in the feature based product the SCR bundle in version 2.2.6 is started. (as it should be)
If autostart is set to false in the bundle based product the SCR bundle in version 2.2.10 is started. (wrong)
Some background info:
tested with Eclipse 3/2024 and a minimal example
The feature based product is pretty much org.eclipse.equinox.core.feature with some additional bundles (including SCR)
"Include required plugins and features' is set to false
If you export the product or build it with tycho none of the above weird behavior occurs. In fact the correct version (2.2.6.) is used. This is only an issue within Eclipse.
If needed I can provide a minimal example to reproduce the issue
Thanks in advance for any help.
The text was updated successfully, but these errors were encountered:
If the target platform in eclipse contains two versions of org.apache.felix.scr (e.g. 2.2.6 and 2.2.10) and an eclipse product references only the older version (2.2.6.) and sets autostart to true, unexpected behaviour occurs at runtime:
If the product is based on features at runtime two versions of SCR will be started (only 2.2.6 would be expected):
6|Active | 4|org.apache.felix.scr (2.2.10)|2.2.10
7|Active | 1|org.apache.felix.scr (2.2.6)|2.2.6
If the product is based on bundles 2.2.10 is started (though 2.2.6 would be expected)
If autostart is set to false in the feature based product the SCR bundle in version 2.2.6 is started. (as it should be)
If autostart is set to false in the bundle based product the SCR bundle in version 2.2.10 is started. (wrong)
Some background info:
If needed I can provide a minimal example to reproduce the issue
Thanks in advance for any help.
The text was updated successfully, but these errors were encountered: