diff options
Diffstat (limited to 'language-model/src/main/java/org/eclipse/viatra/solver')
-rw-r--r-- | language-model/src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/language-model/src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2 b/language-model/src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2 new file mode 100644 index 00000000..6ad7d7a4 --- /dev/null +++ b/language-model/src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2 | |||
@@ -0,0 +1,17 @@ | |||
1 | module org.eclipse.viatra.solver.language.model.GenerateProblemModel | ||
2 | |||
3 | Workflow { | ||
4 | bean = org.eclipse.emf.mwe.utils.StandaloneSetup { | ||
5 | platformUri = ".." | ||
6 | } | ||
7 | |||
8 | component = org.eclipse.emf.mwe.utils.DirectoryCleaner { | ||
9 | directory = "src/main/emf-gen" | ||
10 | } | ||
11 | |||
12 | component = org.eclipse.emf.mwe2.ecore.EcoreGenerator { | ||
13 | generateCustomClasses = false | ||
14 | genModel = "platform:/resource/language-model/src/main/resources/model/problem.genmodel" | ||
15 | srcPath = "platform:/resource/language-model/src/main/emf-gen" | ||
16 | } | ||
17 | } \ No newline at end of file | ||