eclipse-xtext / eclipse-xtext/xtext

JdtQueuedBuildData.needsRebuild(IProject, Collection<Delta>) bogus behaviour

Open
#2,404 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
831
Forks
330
Avg merge
3d 7h
Merged PRs (30d)
12

Description

JdtQueuedBuildData.needsRebuild(IProject, Collection) bogus behaviour:

reports true for project that is not xtext related

  • project a, pure java project
  • project b, xtext+java project, dependency to a
  • edit file in a, b reports needs rebuilds

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at JdtQueuedBuildData.needsRebuild(IProject, Collection) and reproduce the reported setup: a pure Java project A and an Xtext-plus-Java project B that depends on A. Verify whether editing a file in A incorrectly makes B report that it needs rebuilding. Done means the method no longer reports a rebuild for this non-Xtext change while preserving the expected behavior for Xtext-related changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.