Questions tagged [mwe]

Modeling Workflow Engine (MWE)

The modeling workflow engine (MWE) supports orchestration of different Eclipse modeling components to be executed within Eclipse as well as standalone. Based on a dependency injection framework, one can simply configure and wire up 'workflows' using a declarative XML-based language.

23 questions
0
votes
1 answer

Xtext MWE2 Workflow crashing on Generator

I'm currently creating a Maven build for a legacy project, and I'm trying to perform the compilation of an Xtext language within the Maven build, as described here. I'm able to run the build, but once maven starts the Xtext MWE2 workflow I get the…
Radioo
  • 422
  • 5
  • 18
0
votes
0 answers

Xtext grammar Expression for text = "text"

I need to parse a text in the below format: text = "text" text "text" ............ What terminal rule do I need to write to solve this scenario? Below is my text file: //grammar com.provar.eclipse.xtext.TestExpression with…
0
votes
1 answer

Text File Parsing - Java Bean Instantiation with mwe2 (Xtext)

I have text files to be parsed (i.e., convert to Java Bean Instances), Formed the required XText grammar. My XText Grammar: grammar org.eclipse.xtext.example.Domainmodel with org.eclipse.xtext.common.Terminals generate domainmodel…
M. Gopal
  • 404
  • 4
  • 17
0
votes
1 answer

MyDSL code Validation is not working when cleaning the project

In my DSL validator code, it's not working when i clean the project or when i change in one file. Then i used google, came to know like have to register EPackage in Evalidator but in my ecore model don't have like that. So please let me know the…
Saran
  • 167
  • 2
  • 3
  • 11
0
votes
1 answer

Can someone point me to an example of executing mwe2 programmatically within Eclipse?

I would like to package a number of mwe2 workflow definitions and to execute these definitions programmatically from within an Eclipse plugin. I have derived the following incantation, but it fails to find the module. public void runMwe2()…
Jörn Guy Süß
  • 1,408
  • 11
  • 18
0
votes
1 answer

Mwe2 Workflow - modify variables at runtime

I'm trying to make a tool in which the users can choose a model for the mwe2 file and then the generated file to be placed where the user wanted (directory etc..) My question is if the following can be done: to dynamically change the model path…
Edwin
  • 2,146
  • 20
  • 26
0
votes
1 answer

How can I programmatically run an Xpand code generator from a Java class?

I am trying to achieve model driven development by defining a DSL and performing M2M as well as M2T (code generation). For the code generation I chose to work with XPand and template definitions. Could you provide sample code or link to…
Pavlos
  • 73
  • 1
  • 7
-1
votes
1 answer

Python NLTK Train Data Set

I'm trying to train my NLTK model to recognize movie names (ex. "game of thrones") I have a text file where each line is a movie name. How do I train my NLTK model to recognize these movie names if it sees it in a sentence during tokenization? I…
user3157674
  • 65
  • 1
  • 8
1
2