Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Generate syntax graph during automatic build
Generate syntax graph during automatic build [message #1746712] Thu, 03 November 2016 15:40 Go to next message
Steffen Schuette is currently offline Steffen SchuetteFriend
Messages: 13
Registered: August 2015
Junior Member
Hi,

just a quick question. Is it possible to generate the syntax graph PNG file during an ANT-build of our xtext model/plugin?

Thanks
Re: Generate syntax graph during automatic build [message #1746713 is a reply to message #1746712] Thu, 03 November 2016 15:40 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11084
Registered: July 2009
Senior Member
i dont know of such a feature

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: Generate syntax graph during automatic build [message #1746731 is a reply to message #1746712] Thu, 03 November 2016 19:20 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5352
Registered: July 2009
Senior Member
Hi

The syntax graphs are very pretty and so I used them for OCL:

http://help.eclipse.org/neon/topic/org.eclipse.ocl.doc/help/OCLinEcore.html?cp=56_1_2

However:

a) a single graph is unhelpful, you need to intersperse editorial content (which could be auto-derived from *.xtext comments).

b) you need hyper-links between the boxes

c) you need auto-generation

Currently the lack of auto-generation and the pain of manually managing numerous *.png files means that the OCL documentation has gone stale.

Unless you are going to develop the automation, I recommend you restrict your use of the diagrams to your own personal development use.

One day, and my to-do stack is large, I'll resolve the auto-generation. If you'd like to make progress sooner, please let me know.

Regards

Ed Willink

Previous Topic:Syntax coloring / highlighting xtext 2.9
Next Topic:EMF registries and guice injection
Goto Forum:
  


Current Time: Tue Aug 22 05:36:54 GMT 2017

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

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