| Summary: | Java/Groovy files disappearing from Project Explorer when not located inside the build path | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Mauro Molinari <mauromol> | ||||
| Component: | jst.j2ee | Assignee: | jst.j2ee <jst.j2ee-inbox> | ||||
| Status: | NEW --- | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | groar, kdevolder, thatnitind | ||||
| Version: | 3.0.3 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Mauro Molinari
Created attachment 207420 [details]
Zipped project to reproduce the problem
It's important to point out that, although the original problem in STS was reported with a .gradle (and so a groovy file). We have reproduced it with plain .java files. Conditions necessary to trigger the bug seem to be the following: - WTP project - a 'java-like' file placed outside the project's classpath. - this file open in the editor. - a refresh of some kind causing the project explorer to update its contents. - "Enhanced Java Rendering for Web" content provider active Hypothesis (not sure this is really what is happening, just my guess): "Enhanced Java Rendering for Web" is removing the file from the view because it mistakenly believes it is on the classpath when it is open in the editor. Maybe this is due to some kind of interference by the Java editor having triggered a reconcile. Any news for this? It's very annoying when working with Gradle files... This still happens in 2019-12. |