|Re: Xtext Resource Storage [message #1841207 is a reply to message #1841184]
||Thu, 06 May 2021 13:54
| Juewei Jin
Registered: July 2009
Thanks Christian and Ed for your helpful suggestions.|
1. switch git branch break the models
I tried today again to find out the reason, why after switching git branch, the model need to be cleaned. I think I find out something.
Because we are using git command or the git client application (GitExtensions) to work with git. Every time when we switch the git branch. The changed files are not synchronized in Eclipse Model Explorer. Only when I refresh the folder in eclipse model explorer, the changed files are synchronized.
I tried with the git inside eclipse (EGit), with it after switching git branch, the files in Model Explorer are updated and the automatically build run successfully.
So it seems that it's a problem of Eclipse working together with third party git application
2. why the clean build takes 20 minutes
it was my type error. most time the clean build can be finished around 10 minutes. We have some time consuming validations with the models, and totally there are around 5000 models. These models have also many transitive dependencies with each other. So I think the clean build with 10 minutes is still acceptable.
But I will try to use the storaged resource to accelerate the incremental build.
One more question is, does Xtext persistent the parse result somewhere in the disk. I ask this, because even the computer restarted and when I reopen the models, the cross reference and other things still works. If the parsing result were saved in the memory, this should not happen. Please correct me if I am wrong.
Powered by FUDForum
. Page generated in 0.01855 seconds