|
(no subject) [message #709099 is a reply to message #708439] |
Wed, 03 August 2011 09:50   |
Eclipse User |
|
|
|
Hi Mirko,
you could use the IRuleFactory#buildRule to synchronize Jobs with the
builder. Is that what you want to do?
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
On 02.08.11 22:15, Mirko Raner wrote:
> Hi all,
>
> at my company, we're dealing with pretty large workspaces that often
> contain thousands of DSL files. Loading all resources in a workspace can
> take several minutes even on beefy machines, but users typically want to
> start working before resource loading is complete.
> We noticed that a number of services (e.g., IXtextEObjectSearch) are not
> accurate until all resources have been loaded (no surprise there). Is
> there a way to determine when all resources for a certain DSL have been
> loaded, or alternatively, to wait until resource loading is completed?
>
> Thanks,
>
> Mirko
>
|
|
|
(no subject) [message #709104 is a reply to message #708439] |
Wed, 03 August 2011 09:50   |
Eclipse User |
|
|
|
Hi Mirko,
you could use the IRuleFactory#buildRule to synchronize Jobs with the
builder. Is that what you want to do?
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
On 02.08.11 22:15, Mirko Raner wrote:
> Hi all,
>
> at my company, we're dealing with pretty large workspaces that often
> contain thousands of DSL files. Loading all resources in a workspace can
> take several minutes even on beefy machines, but users typically want to
> start working before resource loading is complete.
> We noticed that a number of services (e.g., IXtextEObjectSearch) are not
> accurate until all resources have been loaded (no surprise there). Is
> there a way to determine when all resources for a certain DSL have been
> loaded, or alternatively, to wait until resource loading is completed?
>
> Thanks,
>
> Mirko
>
|
|
|
How can I determine when Resource loading is complete? [message #711104 is a reply to message #709099] |
Fri, 05 August 2011 15:21  |
Eclipse User |
|
|
|
Thanks, Sebastian. I will have a look at IRuleFactory. I guess what I really need to know is whether there are any outstanding resource URIs for which the resources have not been loaded and indexed yet. Maybe this is something more in the area around the ToBeBuiltComputer.
The basic problem is that if, for example, there are 10000 .dsl resources in the workspace and only 6000 of those have been loaded and indexed, it is not possible to get accurate results from the index. I'll do some more investigation in the resource collection mechanism to see whether I can find a good hook.
|
|
|
Powered by
FUDForum. Page generated in 0.04200 seconds