Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » accelerate the MWE2 workflow generation
accelerate the MWE2 workflow generation [message #1661100] Mon, 09 March 2015 13:30 Go to next message
Eleanor Richie is currently offline Eleanor RichieFriend
Messages: 125
Registered: August 2014
Senior Member
Hello,

I have a large DSL grammar, so when generating the Xtext artifacts it takes so much time. Is there a way to accelerate this process? Can I divide the large grammar into 2 or 3 Xtext projects and import the grammars in one single project?

Thanks
Re: accelerate the MWE2 workflow generation [message #1661169 is a reply to message #1661100] Mon, 09 March 2015 14:08 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7096
Registered: July 2009
Senior Member
Hi

Use a RAM disk, make sure you have a huge VM, use a VM monitor to check
you are not thrashing.

Splitting a grammar into multiple projects will create extra work. Xtext
has no modular support for modular grammars. Grammar hierarchy is flattened.

If you have a huge grammar perhaps you also have a huge workspace. Try
closing as many projects and uninstalling as many add-ons as possible.
Try disabling build-all until you are done. The builder can easily start
too soon and make a complete mess of transient state.

Regards

Ed Willink

On 09/03/2015 13:30, Eleanor Richie wrote:
> Hello,
>
> I have a large DSL grammar, so when generating the Xtext artifacts it
> takes so much time. Is there a way to accelerate this process? Can I
> divide the large grammar into 2 or 3 Xtext projects and import the
> grammars in one single project?
>
> Thanks
Previous Topic:[SOLVED] Duplicate field in generated Package
Next Topic:generate plugin
Goto Forum:
  


Current Time: Thu Apr 15 04:10:27 GMT 2021

Powered by FUDForum. Page generated in 0.02174 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top