pre-generate resource descriptions [message #959155] |
Fri, 26 October 2012 09:50  |
Eclipse User |
|
|
|
Hi!
Is there a way to use pre-generated resource descriptions? We have large projects, with hundreds of files and it takes forever to import them in the workspace. Since most files won't be changed in a session, it feels reasonable to let the build sytem generate resource descriptions for all, if Xtext can recognize them and load them instead of parsing the files (if file has older timestamp).
If it's possible, where do i have to look? Using Guice makes the code a bit difficult to navigate...
best regards,
vlad
|
|
|
|
|
|
Re: pre-generate resource descriptions [message #959814 is a reply to message #959602] |
Fri, 26 October 2012 21:22   |
Eclipse User |
|
|
|
Sorry, but I never had to figure out where things are stored, and if
they can be copied. Surely they are in the workspace metadata. Have not
seen any obvious place to import the caches - but OTOH I have never
looked for it explicitly.
- henrik
On 2012-26-10 23:12, Vlad Dumitrescu wrote:
> Hi Henrik,
>
> Yes, I meant it as a step done "offline" so that the index is available
> when opening the workspace the first time.
> Even that is quite slow, I get startup times longer with 30 seconds for
> just one project... When we get to the standard libraries, it will be
> even longer. It would be great if there was a way to do this faster, or
> in the background, or something...
>
> regards,
> Vlad
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03881 seconds