Skip to content
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

Multifile query editing issue in Eclipse #18

Open
ujhelyiz opened this issue Dec 20, 2018 · 2 comments
Open

Multifile query editing issue in Eclipse #18

ujhelyiz opened this issue Dec 20, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ujhelyiz
Copy link
Member

When developing a MagicDraw plugin that uses V4MD, its corresponding Gradle-based build system that has multiple query files, cross-file query references in Eclipse stops working quite regularly: every pattern that is called from another file is marked as one that cannot be found, until the mentioned file is (e.g. by editing it directly or executing a project build). However, after a file is changed again, the issue comes back.

This issue is not strictly related the V4MD, but so far I have only seen this issue with projects that use V4MD and the Gradle-based MagicDraw builds; however, in case of a project with many queries (~700 lines of VQL files in 5 files) the issue is totally reproducible.

My theory is that for some unexpected reason the Xtext Index gets cleaned up during the build, but I have no idea why that happens, it needs further evaluation.

@ujhelyiz ujhelyiz added the bug Something isn't working label Dec 20, 2018
@ujhelyiz ujhelyiz self-assigned this Nov 27, 2019
@ujhelyiz
Copy link
Member Author

@lunkpeter has reported that removing the PDE project nature (and corresponding builder) solved the issue.

@ujhelyiz
Copy link
Member Author

ujhelyiz commented Dec 4, 2019

@lunkpeter has reported that removing the PDE project nature (and corresponding builder) solved the issue.

This cannot be the entire cause, as I have seen two separate cases where the problem occurred in a non-PDE project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant