diff options
Diffstat (limited to 'language-model')
-rw-r--r-- | language-model/META-INF/MANIFEST.MF | 6 | ||||
-rw-r--r-- | language-model/build.gradle | 4 | ||||
-rw-r--r-- | language-model/plugin.properties | 4 | ||||
-rw-r--r-- | language-model/plugin.xml | 4 | ||||
-rw-r--r-- | language-model/src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2 (renamed from language-model/src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2) | 4 | ||||
-rw-r--r-- | language-model/src/main/resources/model/problem.ecore | 2 | ||||
-rw-r--r-- | language-model/src/main/resources/model/problem.genmodel | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/language-model/META-INF/MANIFEST.MF b/language-model/META-INF/MANIFEST.MF index 09c64310..88725730 100644 --- a/language-model/META-INF/MANIFEST.MF +++ b/language-model/META-INF/MANIFEST.MF | |||
@@ -8,9 +8,9 @@ Bundle-ClassPath: . | |||
8 | Bundle-Vendor: %providerName | 8 | Bundle-Vendor: %providerName |
9 | Bundle-Localization: plugin | 9 | Bundle-Localization: plugin |
10 | Bundle-RequiredExecutionEnvironment: JavaSE-17 | 10 | Bundle-RequiredExecutionEnvironment: JavaSE-17 |
11 | Export-Package: org.eclipse.viatra.solver.language.model.problem, | 11 | Export-Package: tools.refinery.language.model.problem, |
12 | org.eclipse.viatra.solver.language.model.problem.impl, | 12 | tools.refinery.language.model.problem.impl, |
13 | org.eclipse.viatra.solver.language.model.problem.util | 13 | tools.refinery.language.model.problem.util |
14 | Require-Bundle: org.eclipse.emf.ecore;visibility:=reexport, | 14 | Require-Bundle: org.eclipse.emf.ecore;visibility:=reexport, |
15 | org.eclipse.core.runtime | 15 | org.eclipse.core.runtime |
16 | Bundle-ActivationPolicy: lazy | 16 | Bundle-ActivationPolicy: lazy |
diff --git a/language-model/build.gradle b/language-model/build.gradle index b8797ffb..d01f8dfc 100644 --- a/language-model/build.gradle +++ b/language-model/build.gradle | |||
@@ -20,11 +20,11 @@ sourceSets { | |||
20 | def generateEPackage = tasks.register('generateEPackage', JavaExec) { | 20 | def generateEPackage = tasks.register('generateEPackage', JavaExec) { |
21 | mainClass = 'org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher' | 21 | mainClass = 'org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher' |
22 | classpath = configurations.mwe2 | 22 | classpath = configurations.mwe2 |
23 | inputs.file 'src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2' | 23 | inputs.file 'src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2' |
24 | inputs.file 'src/main/resources/model/problem.ecore' | 24 | inputs.file 'src/main/resources/model/problem.ecore' |
25 | inputs.file 'src/main/resources/model/problem.genmodel' | 25 | inputs.file 'src/main/resources/model/problem.genmodel' |
26 | outputs.dir 'src/main/emf-gen' | 26 | outputs.dir 'src/main/emf-gen' |
27 | args += 'src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2' | 27 | args += 'src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2' |
28 | args += '-p' | 28 | args += '-p' |
29 | args += "rootPath=/${projectDir}" | 29 | args += "rootPath=/${projectDir}" |
30 | } | 30 | } |
diff --git a/language-model/plugin.properties b/language-model/plugin.properties index 9050bf16..c4fb7e23 100644 --- a/language-model/plugin.properties +++ b/language-model/plugin.properties | |||
@@ -1,4 +1,4 @@ | |||
1 | # | 1 | # |
2 | 2 | ||
3 | pluginName = org.eclipse.viatra.solver.language.model | 3 | pluginName = tools.refinery.language.model |
4 | providerName = www.example.org | 4 | providerName = refinery.tools |
diff --git a/language-model/plugin.xml b/language-model/plugin.xml index af07e296..1e1a246e 100644 --- a/language-model/plugin.xml +++ b/language-model/plugin.xml | |||
@@ -9,8 +9,8 @@ | |||
9 | <extension point="org.eclipse.emf.ecore.generated_package"> | 9 | <extension point="org.eclipse.emf.ecore.generated_package"> |
10 | <!-- @generated problem --> | 10 | <!-- @generated problem --> |
11 | <package | 11 | <package |
12 | uri="http://www.eclipse.org/viatra/solver/language/model/Problem" | 12 | uri="https://refinery.tools/emf/2021/Problem" |
13 | class="org.eclipse.viatra.solver.language.model.problem.ProblemPackage" | 13 | class="tools.refinery.language.model.problem.ProblemPackage" |
14 | genModel="src/main/resources/model/problem.genmodel"/> | 14 | genModel="src/main/resources/model/problem.genmodel"/> |
15 | </extension> | 15 | </extension> |
16 | 16 | ||
diff --git a/language-model/src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2 b/language-model/src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2 index 3cae32f1..7f998448 100644 --- a/language-model/src/main/java/org/eclipse/viatra/solver/language/model/GenerateProblemModel.mwe2 +++ b/language-model/src/main/java/tools/refinery/language/model/GenerateProblemModel.mwe2 | |||
@@ -1,4 +1,4 @@ | |||
1 | module org.eclipse.viatra.solver.language.model.GenerateProblemModel | 1 | module tools.refinery.language.model.GenerateProblemModel |
2 | 2 | ||
3 | Workflow { | 3 | Workflow { |
4 | bean = org.eclipse.emf.mwe.utils.StandaloneSetup { | 4 | bean = org.eclipse.emf.mwe.utils.StandaloneSetup { |
@@ -17,4 +17,4 @@ Workflow { | |||
17 | genModel = "platform:/resource/language-model/src/main/resources/model/problem.genmodel" | 17 | genModel = "platform:/resource/language-model/src/main/resources/model/problem.genmodel" |
18 | srcPath = "platform:/resource/language-model/src/main/emf-gen" | 18 | srcPath = "platform:/resource/language-model/src/main/emf-gen" |
19 | } | 19 | } |
20 | } \ No newline at end of file | 20 | } |
diff --git a/language-model/src/main/resources/model/problem.ecore b/language-model/src/main/resources/model/problem.ecore index 95653ca4..a62590ac 100644 --- a/language-model/src/main/resources/model/problem.ecore +++ b/language-model/src/main/resources/model/problem.ecore | |||
@@ -1,6 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 2 | <ecore:EPackage 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" name="problem" nsURI="http://www.eclipse.org/viatra/solver/language/model/Problem" | 3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="problem" nsURI="https://refinery.tools/emf/2021/Problem" |
4 | nsPrefix="problem"> | 4 | nsPrefix="problem"> |
5 | <eClassifiers xsi:type="ecore:EClass" name="Problem" eSuperTypes="#//NamedElement"> | 5 | <eClassifiers xsi:type="ecore:EClass" name="Problem" eSuperTypes="#//NamedElement"> |
6 | <eStructuralFeatures xsi:type="ecore:EReference" name="nodes" upperBound="-1" | 6 | <eStructuralFeatures xsi:type="ecore:EReference" name="nodes" upperBound="-1" |
diff --git a/language-model/src/main/resources/model/problem.genmodel b/language-model/src/main/resources/model/problem.genmodel index baadd435..e529977f 100644 --- a/language-model/src/main/resources/model/problem.genmodel +++ b/language-model/src/main/resources/model/problem.genmodel | |||
@@ -8,7 +8,7 @@ | |||
8 | copyrightFields="false" operationReflection="true" importOrganizing="true"> | 8 | copyrightFields="false" operationReflection="true" importOrganizing="true"> |
9 | <foreignModel>problem.ecore</foreignModel> | 9 | <foreignModel>problem.ecore</foreignModel> |
10 | <testsDirectory xsi:nil="true"/> | 10 | <testsDirectory xsi:nil="true"/> |
11 | <genPackages prefix="Problem" basePackage="org.eclipse.viatra.solver.language.model" | 11 | <genPackages prefix="Problem" basePackage="tools.refinery.language.model" |
12 | disposableProviderFactory="true" ecorePackage="problem.ecore#/"> | 12 | disposableProviderFactory="true" ecorePackage="problem.ecore#/"> |
13 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="problem.ecore#//LogicValue"> | 13 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="problem.ecore#//LogicValue"> |
14 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//LogicValue/TRUE"/> | 14 | <genEnumLiterals ecoreEnumLiteral="problem.ecore#//LogicValue/TRUE"/> |