Skip to content

.genmodel issue in MWE workflow using XtextGenerator and EcoreGenerator #3334

Answered by tfonda-fbk
tfonda-fbk asked this question in Q&A
Discussion options

You must be logged in to vote

@cdietrich I am definitely going to look for such issue.
Splitting the workflow in two files (one with XtextGenerator, the other with EcoreGenerator) worked fine! I now have the original workflow file that runs XtextGenerator, and a second one running EcoreGenerator, to which I also had to add a StandaloneSetup component as described in the article from Christian's blog I linked above:

Workflow {
	bean = StandaloneSetup {
		platformUri = ".."
	}
	component = org.eclipse.emf.mwe2.ecore.EcoreGenerator {
		genModel = "platform:/resource/eu.fbk.sysmlv2/model/generated/SysMLv2.genmodel"
		srcPath = "platform:/resource/eu.fbk.sysmlv2/src"
	}
}

As an alternative approach, I have verified that w…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@cdietrich
Comment options

@LorenzoBettini
Comment options

@cdietrich
Comment options

@tfonda-fbk
Comment options

Answer selected by tfonda-fbk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants