|Re: [BPMN2] Missing namespace export for XSD-based serialization [message #551727 is a reply to message #551700]
||Mon, 09 August 2010 07:12
Registered: March 2010
|Which "version" of our project do you use? The latest from our git repository?|
yes - got it from http://git.eclipse.org/c/bpmn2/.
|I'll try to test this myself - if you could supply a small sample that would be useful.|
I wrote a small workaround to reference bpmn2 models in xText models. If you drop me a note with your email I can send you the source for the workaround and the corresponding ecore/xText projects.
Essential a sample grammar looks like (assuming a corresponding ecore model)
grammar foo.bar.mydsl.MyDsl with org.eclipse.xtext.common.Terminals
import "http://www.eclipse.org/emf/2002/Ecore" as ecore
Modelimport | Greeting
'Hello' name=ID '!'
A sample xText model will look like (assuming a bpmn2 model called "My.bpmn2" in the same directory containing an element with the name "MyProcess"):
Hello Henning !
[Updated on: Mon, 09 August 2010 07:13]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01627 seconds