-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unexpected XText version change when installing updates from 2.6.0-vfinal update site #2097
Comments
This should not have happened. Please export the list of all update sites in your installation and attach it here. Did you add any other update site? Maybe we lost the Xtext version dependency that should have prevented 2.20 from installing. BTW, What you did was completely unnecessary. The update site is for installing into an existing Eclipse installation. There are no OSATE updates available there. |
I cannot reproduce this. I tried with a fresh 2.6.0 installation, and it installs the source features but does not update Xtext. |
For reference:
|
We noticed this behavior because installation of other OSATE plugins seems to also prompt the xtext version change. We tried to install a plugin and it failed because of the xtext version. To rule out the other plugin as an issue, I tried installing OSATE 2.6.0 from the update site to see if simply installing anything from an update site caused xtext to update.
I just tried again (using the .zip file with checksum noted above) and saw the same behavior. More screenshots below: |
It's probably not related, but here is my .log file from this morning's test. I unzipped OSATE, launched it, added the OSATE 2.6.0 update site, and installed the plugins shown in the screenshots above.
|
Here's the list from the initial OSATE install with no changes made: With the OSATE update site added: and after installing the OSATE source plugins:
No. |
This is strange: I fired up a fresh Win10 VM, and there I can reproduce the issue. On Linux it does not update Xtext. Check for updates doesn't, either. It refuses to install any Xtext 2.20 feature when I try. FYI: The update site you added (.../2.6.0-vfinal/updates/) is the same as the one already in the list (.../2.6.0/updates/), 2.6.0 is a symlink to 2.6.0-vfinal. I didn't add the second one, so that's not the reason for the funny behavior. |
@lwrage Do you need any further information from me? |
I'll try to add explicit dependencies on other Xtext 2.19 plugins to prevent the upgrade. |
I tried this on OS X with a fresh OSATE2 download.
So this is broken on OS X. |
Don't use composite Xtext update site. This also significantly speeds up installation because it only reads one p2 repository. Version pinning in feature is no longer necessary.
I downloaded and installed the Windows x86_64 OSATE 2.6.0-vfinal release of OSATE from osate.org.
I extracted it and checked Help -> About -> Plugins and saw xtext 2.19 installed.
I did help -> install new software -> and added an update site: https://osate-build.sei.cmu.edu/download/osate/stable/2.6.0-vfinal/updates/
I selected the available features and clicked "install"
After the install completed and I restarted OSATE, Help -> About -> Plugins reported most xtext plugins were now at version 2.20.
This breaks some of our tools, because we have dependencies on xtext 2.19.
The text was updated successfully, but these errors were encountered: