-
Notifications
You must be signed in to change notification settings - Fork 113
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
[2024-09 regression] Restart is needed to refresh shared launch configurations #1609
Comments
@rhoehener thanks for your report, can you please contribute a fix or at least point to a commit that broke the behaviour? |
@jukzi i'm sorry i'm just a long-time user of eclipse. but please let me know if you cannot reproduce the problem or need more information. |
Perhaps this has some unintended impact? |
Yes, #1487 looks related. |
@trancexpress : could you please bisect if this is from #1487 and if yes, provide a fix or revert? Would be nice for RC1. |
I can't reproduce with latest I-build, on Linux:
I tried:
I also tried restarting Eclipse between steps 4. and 5.. I also tried with the Eclipse 4.33 release:
@rhoehener please provide specific reproduction steps, the type of launch, where its stored and so on. |
@trancexpress I downloaded a fresh copy of eclipse (eclipse-jee-2024-09-R-win32-x86_64.zip, Windows 11) and everything works if I save the launch configs in the project root. But all our shared launch configs are stored in I assume there is a new filter at work that skips folders prefixed with a dot when scanning for launch configs. If I import the attached test project, I do not see any launch configurations at all until I do a close/open project cycle. Same for copying/deleting/renaming. And when launch configurations exist in both the project root and the .launch folder, the problems seem to get even worse. |
@HannesWell , after the revert, please do the following:
|
Revert is merged, I'll double-check with the I-build tomorrow if the bug is gone. |
Thank you everyone for looking into this issue! |
Validated the latest I-build, the bug is gone: https://download.eclipse.org/eclipse/downloads/drops4/I20241113-1800/ I also don't see any platform.ui Linux failures in the build. I did get a notification that platform UA test testAllLinks fails, but I don't see how that is related (see also e.g.: #1370 ) |
Since 2024-09, we need to restart eclipse to refresh our shared launch configurations. Otherwise Eclipse will still show launch configs that have been changed by someone else (= the change happens via souce control updates, not via launch config UI).
I assume this might also affect adding or renaming of launch configurations.
To reproduce, delete a shared launch configuration on the file system and try to refresh / update the project in the workspace -> the launch configuration should still be visible in the list.
The text was updated successfully, but these errors were encountered: