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

During import, only trigger "update project configuration" on Maven projects if necessary #544

Closed
fbricon opened this issue Feb 7, 2018 · 0 comments

Comments

@fbricon
Copy link
Contributor

fbricon commented Feb 7, 2018

When workspace is reopened, we always update Maven project configurations, which is CPU and Memory inefficient (see eclipse-che/che#8335 (comment)).

We basically need to implement : https://github.com/eclipse/eclipse.jdt.ls/blob/f08b7c215d7e03597f5f0a91ac91380c90c9787e/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/managers/MavenProjectImporter.java#L189-L192

I think, one way to do it it to check if the project pom.xml is more recent than the last workspace serialized state file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant