Skip to main content


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: 14665
Registered: July 2009
Senior Member
i dont know of such a feature

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
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: 7655
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:[Xtext] Formatter2 usage when programmatically save Xtext resource
Goto Forum:
  


Current Time: Tue Apr 23 16:39:24 GMT 2024

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

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

Back to the top