Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Re: [MWE] Is there a way to prevent to refresh the *entire* workspace after the run of a workflow?
Re: [MWE] Is there a way to prevent to refresh the *entire* workspace after the run of a workflow? [message #621386] Thu, 24 September 2009 03:39
Sven Efftinge is currently offline Sven Efftinge
Messages: 1668
Registered: July 2009
Senior Member
Hi Michael,

as this is related to the MWE launcher I added the emft newsgroup.

the workspace refresh is hard coded so you cannot deactivate it in the
launch configuration. What you could do is to start the workflow using a
plain Java Application launch configuration.

All you need to do is start 'org.eclipse.emf.mwe.core.WorkflowRunner'
and pass the workflow file as the first parameter.

Note, that usually a refresh is only resources consuming if many files
are out of sync, i.e. have changed externally. You could try to minimize
this by avoid overwriting existing files if nothing has changed.

Cheers,
Sven


Michael Scharf schrieb:
> I have a huge workspace (>30.000 files).
>
> A refresh of the workspace can take up to 10 minutes
> (if the files are not in the disc cache because windows
> in not really good at that)! Even the second time it
> takes 15 seconds.
>
> Is there a way to only refresh the projects that
> have changed?
>
> I understand that it is difficult to figure out
> what has changed, but it would be great to
> specify in the workflow what to update.
>
>
> Michael


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:[Teneo] Text mapping instead of VarChar
Next Topic:Framework for Patching EMF Models is available
Goto Forum:
  


Current Time: Sat May 25 16:09:43 EDT 2013

Powered by FUDForum. Page generated in 0.01644 seconds