Repository navigation
Conversation
The clean job had the workspace root as job rule. So while a project was cleaned, no other job could change any resource, and launches waited. Each project clean takes the rules that its builders need, as the build in BuildAction does without a job rule. A builder with a smaller rule than the root (for example a project rule) now lets other projects work during a clean of selected projects. "Clean all" still takes the root. The job is still one workspace operation, so the auto-build starts after the clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project > Clean ran its job with the workspace root as job rule. While selected projects were cleaned, all jobs that change resources waited, and launches in other projects too.
Each project clean takes the rules that its builders need, so the job needs no rule.
BuildActionalready runs builds this way. A builder with a project rule now lets other projects work during the clean. Builders with the default rule, and "Clean all", still take the root. The job stays one workspace operation, so the auto-build still starts after the clean.Trade-off: with root-rule builders, an auto-build that is already scheduled can run between two project cleans. The result is correct, but some work repeats.
This is part of work I've been doing on refactoring eclipse's build locking mechanism to fix a very old platform problem (at least for me): a build or a refresh in one unrelated project locks the whole workspace leaving you with frozen IDE for a very long time. I tended to just kill eclipse and start it over, but after a refactoring (this little PR is part of it) I can have hundreds of projects in single workspace without problems of this kind.
Tested in Eclipse 4.41: a clean of a project with a project-rule builder no longer delays Ctrl+F11 in another project.
🤖 Generated with Claude Code