diff options
author | 2021-09-19 18:36:37 +0200 | |
---|---|---|
committer | 2021-09-19 18:36:37 +0200 | |
commit | 8821ee733365bf3c7db90c4a4f70c8d5761e450c (patch) | |
tree | 294adf30d65bff27c677f1d88448faca75df5560 /language-model | |
parent | Merge remote-tracking branch 'origin/web-demo' (diff) | |
download | refinery-8821ee733365bf3c7db90c4a4f70c8d5761e450c.tar.gz refinery-8821ee733365bf3c7db90c4a4f70c8d5761e450c.tar.zst refinery-8821ee733365bf3c7db90c4a4f70c8d5761e450c.zip |
Make language-model gets the Xtext nature
If the project does not have the Xtext nature, the Problem.xtext file
will not be able to load problem.ecore
Diffstat (limited to 'language-model')
-rw-r--r-- | language-model/build.gradle | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/language-model/build.gradle b/language-model/build.gradle index 2d9b54b9..3950140c 100644 --- a/language-model/build.gradle +++ b/language-model/build.gradle | |||
@@ -31,4 +31,8 @@ task generateEPackage(type: JavaExec) { | |||
31 | compileJava.dependsOn(generateEPackage) | 31 | compileJava.dependsOn(generateEPackage) |
32 | clean.dependsOn(cleanGenerateEPackage) | 32 | clean.dependsOn(cleanGenerateEPackage) |
33 | 33 | ||
34 | eclipse.project.natures += ['org.eclipse.sirius.nature.modelingproject', 'org.eclipse.pde.PluginNature'] | 34 | eclipse.project.natures += [ |
35 | 'org.eclipse.sirius.nature.modelingproject', | ||
36 | 'org.eclipse.pde.PluginNature', | ||
37 | 'org.eclipse.xtext.ui.shared.xtextNature' | ||
38 | ] | ||