Comments (7)
What version range do you have in mind?
This is in theory good requirement, but in practice it implies that someone do revisit all the plugins relatively frequent and does care about updating the ranges. Is this really the case for the modern times?
from cdt.
Well, the problem is that without a range and changing the BREE, there is nothing that downstream can do to ensure that the right plugin is installed.
I don't think it's a good model that ever downstream vendor should look though each and every "internal" dependency that a certain plugin has, it should be enough to just say that I want this particular CDT feature and it should be just that and nothing else. With the current way, you get the CDT feature and some other hang-around plugins, but at random times, you get a version that is incompatible with the rest of the product and then nothing works. No warning, no error, no nothing to the user except that the plugins refuse to load.
In my world, this is a serious break of the contract to the downstream vendors/users.
from cdt.
Well, the problem is that without a range and changing the BREE, there is nothing that downstream can do to ensure that the right plugin is installed.
Platform updgraded to Java 11 without changing major version and most probably will repeat this trick after move to Java 17, so version range will not help a lot.
but at random times, you get a version that is incompatible with the rest of the product and then nothing works
This looks more like a p2 issue: p2 has all the information to analyze EE & BREE and reject to install.
from cdt.
Platform updgraded to Java 11 without changing major version and most probably will repeat this trick after move to Java 17, so version range will not help a lot.
Just FYI this is documented and expected behavior for long time now https://wiki.eclipse.org/Version_Numbering#When_to_change_the_minor_segment .
from cdt.
Thank you for this link @akurtakov , no idea why I was sure that BREE upgrade is API breaking change.
from cdt.
This sounds like a p2 bug - i.e. that installing Bundles with BREE > than running Java should not be allowed. This is going to affect much more than just CDT as other things (like tracecompass, lsp4e, tm4e) also all have (or will soon have) BREE of Java 17, but no major version change.
from cdt.
This sounds like a p2 bug - i.e. that installing Bundles with BREE > than running Java should not be allowed. This is going to affect much more than just CDT as other things (like tracecompass, lsp4e, tm4e) also all have (or will soon have) BREE of Java 17, but no major version change.
I think you are referring to the old discussion in ticket https://bugs.eclipse.org/bugs/show_bug.cgi?id=483383.
I do agree that it's hard to get this right for every possibility, but I think the major problem is that there is no validation that there will be a problem after restarting Eclipse if the BREE is higher than an available JRE.
I think that the follow use-cases should be supported:
- The user upgrades to a new version, or installs a new feature, with the same BREE requirements.
This should be allowed without any issue. - The user upgrades to a new version, or installs a new feature, with a higher BREE requirement.
This should only be allowed if the upgrade also pulls in a new JRE that meets the new BREE requirement. If it does not fullfil the required BREE, then the user should at least be prompted about the implications of completing the upgrade.
I know that there is the checkbox in the Window -> Preferences -> Install/Update, but checking that checkbox will have the consequence that it's not possible to upgrade to a new version that do require a newer version of the JRE even if the new JRE would be installed in the same p2 operation.
When I wrote this issue, I was not aware that it was considered a "minor" bump for the BREE change. I personally think this is a mistake as there is simply no way to defend against the unwanted changes as a consumer of a bundle.
from cdt.
Related Issues (20)
- Adding new lines above collapsed code breaks the display of collapsed code
- std::optional is not working on Eclipse 4.30.0 HOT 4
- Invalid template Arguments for std::map in Eclipse 2023-12 with GCC version 13.2.0 HOT 5
- Improve workflow for new users when MinGW toolchain not detected HOT 2
- Terminal does not read Eclipse variables used as argument for External Executables HOT 1
- Jenkins CI failing to complete builds HOT 4
- Macro expansion for functions and function pointers
- Add compile-commands.json generation for Managed Build Projects HOT 12
- Remove Build and Clean command fields from Launch Bar Launch Configuration, Build Settings tab
- Fix resource leak warnings for org.eclipse.cdt.core.utils
- Improve localization for `org.eclipse.tools.templates.ui` bundle
- An internal error occurred during: "Launching Eclipse Application". Cannot invoke "java.util.List.stream()" because the return value of "java.util.Map.get(Object)" is null HOT 3
- Binding lookup for Constructor Call vs Method Call
- Platform APIs have been removed breaking CDT build on latest platform dependencies
- NPE after creation of new cmake project
- Enhanced static library presentation within CMake projects
- __attribute__ of declarator is missing from AST
- Element order in project explorer arbitrarily changes if label decoration is involved HOT 5
- Improve indexer support for variadic templates
- Add required root files: NOTICE and SECURITY HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdt.