eclipse-xtext / eclipse-xtext/xtext
[LSP] The incremental builder occasionally deletes generated files
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 831
- Forks
- 330
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 12
Description
It does not happen with the clustering builder state in Eclipse.
For the language I am currently working, there is some black magic that out of nothing generates a file inside the gen folder. Now, this is cleaned up by the incremental builder.
I try to come up with a stripped down example (if no, just mention me) soon. I wanted to open this issue before I forget it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with org.eclipse.xtext/src/org/eclipse/xtext/build/IncrementalBuilder.xtend at lines 175-179, where the issue reports generated files are cleaned up. Reproduce the behavior with a stripped-down language example and compare it with the clustering builder state in Eclipse. Done means the incremental builder no longer deletes files generated in the gen folder unexpectedly.
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
- Needs clarification
- Newbie friendliness
- 25/100