-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Wild Web Developer tools forces update of JustJ and Platform to latest version #1380
Comments
So to clarify what happens here:
|
Yes,
See detailed steps here: |
I'd argue that -- let's call them 'platform dependencies' -- such as platform itself and justJ should not be included in the update site of WWD like this. If anything, an update site should point to fixed versions of such dependencies, not something dynamic like /latest. |
I just want to concretize how critical this issue is. Our current situation: After Eclipse 4.21 (2024-03) has been released and an update in the Eclipse IDE has been performed, we were not able to open Java files anymore. Here is the stacktrace:
As one can see: Because of wildwebdeveloper adding https://download.eclipse.org/eclipse/updates/latest as p2 repository, jdt got updated to the 4.31 version. Unfortunately this update is incomaptible with the 4.30 JFace version. It took us hours to investigate this issue until we ended up in the content.xml of the wildwebdeveloper P2 repository. |
Anyone who is willing to provide a fix to improve that is more than welcome. |
I am not sure which direction to solve this issue is the best one. Is it an option to omit the repository-references (https://github.com/eclipse-wildwebdeveloper/wildwebdeveloper/blob/master/repository/category.xml#L87) entirely? |
That's worth trying. |
Here we go: #1491 |
Let's close then with #1491 being merged. Note that at this stage, the best next step is probably to remove the product from the build/repo. |
This continues to cause problems. In this case, users can update EPP 2024-03 to EPP 2024-06 without actually updating their JRE and then the updated product simply fails to start: |
This should be fixed with a new release. I'm preparing one now. |
That sounds great. |
Released Wild Web Developer 1.3.4 and submitted eclipse-simrel/simrel.build#335 |
Follow-up on #938.
Wild Web Developer uses the same updatesite for both the RCP product and the regular update site.
This is a problem, as the RCP product update site also contains transitive dependencies such as JustJ which are undesired in the 'other RCP product + install wild web as plugin' use-case.
An attempt was made in #1238 to filter out these dependencies, but this actually made things worse:
While it does result in the dependencies to be gone from the updatesite, the updatesite now contains references to the dependencies:
https://github.com/vrubezhny/wildwebdeveloper/blob/62d007dcfaf17c69cdf84f15ed8ae03952482245/repository/category.xml#L84-L85
This results
Before
Check for updates
Press Cancel (!) and check update sites again:
/latest
). This actually causes an update of the underlying Platform and JustJ to potentially unwanted, newer versions.I think using
<repository-reference>
in category.xml is a bad idea and should be removed.Instead, the update-site should be split in two: one for the actual RCP product including the platform and JustJ dependencies, and one for the pure wild web developer features.
The text was updated successfully, but these errors were encountered: