diff options
author | 2021-11-19 14:21:35 +0100 | |
---|---|---|
committer | 2021-11-19 14:21:35 +0100 | |
commit | 9ce542bcacd2da0d53d18f6392c54ceae5876642 (patch) | |
tree | 6c5ca8e9131fcba30dc63ba2c42dc019c2a22b05 /language-model | |
parent | build: fix cross-project sonar configuration (diff) | |
download | refinery-9ce542bcacd2da0d53d18f6392c54ceae5876642.tar.gz refinery-9ce542bcacd2da0d53d18f6392c54ceae5876642.tar.zst refinery-9ce542bcacd2da0d53d18f6392c54ceae5876642.zip |
build: fix cross-project group and version config
Diffstat (limited to 'language-model')
-rw-r--r-- | language-model/src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2 | 6 | ||||
-rw-r--r-- | language-model/src/main/resources/model/problem.genmodel | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/language-model/src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2 b/language-model/src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2 index c1518b4d..15198d69 100644 --- a/language-model/src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2 +++ b/language-model/src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2 | |||
@@ -3,7 +3,7 @@ module tools.refinery.language.model.GenerateProblemModel | |||
3 | Workflow { | 3 | Workflow { |
4 | bean = org.eclipse.emf.mwe.utils.StandaloneSetup { | 4 | bean = org.eclipse.emf.mwe.utils.StandaloneSetup { |
5 | projectMapping = { | 5 | projectMapping = { |
6 | projectName = "refinery-language-model" | 6 | projectName = "tools.refinery.refinery-language-model" |
7 | path = "." | 7 | path = "." |
8 | } | 8 | } |
9 | } | 9 | } |
@@ -14,7 +14,7 @@ Workflow { | |||
14 | 14 | ||
15 | component = org.eclipse.emf.mwe2.ecore.EcoreGenerator { | 15 | component = org.eclipse.emf.mwe2.ecore.EcoreGenerator { |
16 | generateCustomClasses = false | 16 | generateCustomClasses = false |
17 | genModel = "platform:/resource/refinery-language-model/src/main/resources/model/problem.genmodel" | 17 | genModel = "platform:/resource/tools.refinery.refinery-language-model/src/main/resources/model/problem.genmodel" |
18 | srcPath = "platform:/resource/refinery-language-model/src/main/emf-gen" | 18 | srcPath = "platform:/resource/tools.refinery.refinery-language-model/src/main/emf-gen" |
19 | } | 19 | } |
20 | } | 20 | } |
diff --git a/language-model/src/main/resources/model/problem.genmodel b/language-model/src/main/resources/model/problem.genmodel index 3e0ee35e..9ba2274b 100644 --- a/language-model/src/main/resources/model/problem.genmodel +++ b/language-model/src/main/resources/model/problem.genmodel | |||
@@ -1,8 +1,8 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" | 3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" |
4 | modelDirectory="/refinery-language-model/src/main/emf-gen" creationIcons="false" | 4 | modelDirectory="/tools.refinery.refinery-language-model/src/main/emf-gen" |
5 | editDirectory="/language-edit/src/main/emf-gen" editorDirectory="/org.eclipse.viatra.solver.language.model.editor/src-gen" | 5 | creationIcons="false" editDirectory="/language-edit/src/main/emf-gen" editorDirectory="/org.eclipse.viatra.solver.language.model.editor/src-gen" |
6 | modelPluginID="language-model" modelName="Problem" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" | 6 | modelPluginID="language-model" modelName="Problem" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" |
7 | codeFormatting="true" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" | 7 | codeFormatting="true" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" |
8 | copyrightFields="false" operationReflection="true" importOrganizing="true"> | 8 | copyrightFields="false" operationReflection="true" importOrganizing="true"> |