Skip to content

Commit

Permalink
migrates to MPS 2019.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hazem.borham authored and ty1824 committed Mar 20, 2020
1 parent 0415886 commit 80a32cc
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 13 deletions.
1 change: 1 addition & 0 deletions .mps/migration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
<entry key="jetbrains.mps.ide.mpsmigration.v35.EditorGeneratorRefactoring" value="executed" />
<entry key="jetbrains.mps.ide.mpsmigration.v35.RemoveHistoryFiles" value="executed" />
<entry key="jetbrains.mps.ide.mpsmigration.v35.SetGenRequiredToEmptyAspects" value="executed" />
<entry key="jetbrains.mps.ide.mpsmigration.v_2019_3.DefaultFacetExplicitPersistence" value="executed" />
</component>
</project>
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.apache.tools.ant.util.TeeOutputStream

// the mps version we build (and install) the plugins for. Necessary to compute a user's plugin directory
ext.mpsMajor = "2019.2"
ext.mpsMajor = "2019.3"


buildscript {
Expand Down Expand Up @@ -32,13 +32,13 @@ configurations {

dependencies {
// Plugin dependencies for project
mpsPlugins group: 'com.mbeddr', name: 'platform', version: '2019.2.+'
mpsPlugins group: 'com.mbeddr', name: 'platform', version: '2019.3.+'

// Compile-time dependencies
// Multiple configurations allow us to easily copy the deps to the required locations
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.10.0'
mps group: 'com.jetbrains', name: 'mps', version: '2019.2.3'
mps group: 'com.jetbrains', name: 'mps', version: '2019.3.3'
git4mpsCompile files('artifacts/MPS/plugins/git4idea/lib/git4idea.jar')
git4mpsCompile files('artifacts/MPS/plugins/git4idea/lib/git4idea-rt.jar')
}
Expand Down
11 changes: 6 additions & 5 deletions buildScripts/reviewPluginBuildScripts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<fileset dir="${build.tmp}/default/com.workday.mps.git4mps.jar" />
</jar>
<copyModels todir="${build.tmp}/customProcessors/copyModels/solutions-com.workday.mps.git4mps-models">
<fileset dir="${project.home}/solutions/com.workday.mps.git4mps/models" includes="**/*.mps, **/*.metadata, **/*.history, **/*.mpsr, **/.model" />
<fileset dir="${project.home}/solutions/com.workday.mps.git4mps/models" includes="**/*.mps, **/*.mpsr, **/.model" />
</copyModels>
<jar destfile="${build.layout}/com.workday.mps.git4mps-src.jar" duplicate="preserve">
<fileset dir="${project.home}/solutions/com.workday.mps.git4mps/source_gen">
Expand Down Expand Up @@ -97,7 +97,7 @@
<fileset dir="${build.tmp}/default/com.workday.mps.review.build.jar" />
</jar>
<copyModels todir="${build.tmp}/customProcessors/copyModels/solutions-com.workday.mps.review.build-models">
<fileset dir="${project.home}/solutions/com.workday.mps.review.build/models" includes="**/*.mps, **/*.metadata, **/*.history, **/*.mpsr, **/.model" />
<fileset dir="${project.home}/solutions/com.workday.mps.review.build/models" includes="**/*.mps, **/*.mpsr, **/.model" />
</copyModels>
<jar destfile="${build.layout}/com.workday.mps.review.build-src.jar" duplicate="preserve">
<fileset dir="${project.home}/solutions/com.workday.mps.review.build/source_gen">
Expand Down Expand Up @@ -137,11 +137,11 @@
<echo message="generating" />
<generate strictMode="true" parallelMode="true" parallelThreads="8" useInplaceTransform="false" hideWarnings="false" createStaticRefs="true" fork="true" skipUnmodifiedModels="${mps.generator.skipUnmodifiedModels}">
<plugin path="${artifacts.com.mbeddr.platform}/com.mbeddr.platform.build" />
<plugin path="${artifacts.com.mbeddr.platform}/de.slisson.mps.all" />
<plugin path="${artifacts.com.mbeddr.platform}/de.itemis.mps.extensions.build" />
<plugin path="${artifacts.mps}/plugins/mps-build" />
<plugin path="${artifacts.mps}/plugins/mps-core" />
<library file="${artifacts.com.mbeddr.platform}/com.mbeddr.platform.jar" />
<library file="${artifacts.com.mbeddr.platform}/de.slisson.mps.all/languages/de.slisson.mps.all/de.itemis.mps.extensions.build.jar" />
<library file="${artifacts.com.mbeddr.platform}/de.itemis.mps.extensions.build/languages/de.itemis.mps.extensions.build/de.itemis.mps.extensions.build.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/closures.runtime.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/collections.runtime.jar" />
<library file="${artifacts.mps}/languages/baseLanguage/jetbrains.mps.baseLanguage.blTypes.jar" />
Expand Down Expand Up @@ -195,13 +195,14 @@
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.refactoring.participant.jar" />
<library file="${artifacts.mps}/languages/languageDesign/jetbrains.mps.typesystemEngine.jar" />
<library file="${artifacts.mps}/languages/make/jetbrains.mps.make.facets.jar" />
<library file="${artifacts.mps}/languages/make/jetbrains.mps.make.jar" />
<library file="${artifacts.mps}/languages/make/jetbrains.mps.make.runtime.jar" />
<library file="${artifacts.mps}/languages/make/jetbrains.mps.smodel.resources.jar" />
<library file="${artifacts.mps}/languages/mps-stubs.jar" />
<library file="${artifacts.mps}/languages/plaf/jetbrains.mps.baseLanguage.search.jar" />
<library file="${artifacts.mps}/languages/plaf/jetbrains.mps.baseLanguage.util.jar" />
<library file="${artifacts.mps}/languages/plaf/jetbrains.mps.ide.platform.jar" />
<library file="${artifacts.mps}/languages/plaf/jetbrains.mps.ide.ui.jar" />
<library file="${artifacts.mps}/languages/plaf/jetbrains.mps.ide.refactoring.platform.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.analyzers.runtime.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.dataFlow.runtime.jar" />
<library file="${artifacts.mps}/languages/runtimes/jetbrains.mps.findUsages.runtime.jar" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<accessoryModels />
<sourcePath />
<dependencies>
Expand All @@ -29,7 +34,7 @@
<language slang="l:aee9cad2-acd4-4608-aef2-0004f6a1cdbd:jetbrains.mps.lang.actions" version="4" />
<language slang="l:af65afd8-f0dd-4942-87d9-63a55f2a9db1:jetbrains.mps.lang.behavior" version="2" />
<language slang="l:fe9d76d7-5809-45c9-ae28-a40915b4d6ff:jetbrains.mps.lang.checkedName" version="1" />
<language slang="l:3f4bc5f5-c6c1-4a28-8b10-c83066ffa4a1:jetbrains.mps.lang.constraints" version="5" />
<language slang="l:3f4bc5f5-c6c1-4a28-8b10-c83066ffa4a1:jetbrains.mps.lang.constraints" version="6" />
<language slang="l:e51810c5-7308-4642-bcb6-469e61b5dd18:jetbrains.mps.lang.constraints.msg.specification" version="0" />
<language slang="l:47257bf3-78d3-470b-89d9-8c3261a61d15:jetbrains.mps.lang.constraints.rules" version="0" />
<language slang="l:5dae8159-ab99-46bb-a40d-0cee30ee7018:jetbrains.mps.lang.constraints.rules.kinds" version="0" />
Expand All @@ -49,18 +54,19 @@
<language slang="l:d4615e3b-d671-4ba9-af01-2b78369b0ba7:jetbrains.mps.lang.pattern" version="2" />
<language slang="l:28f9e497-3b42-4291-aeba-0a1039153ab1:jetbrains.mps.lang.plugin" version="4" />
<language slang="l:ef7bf5ac-d06c-4342-b11d-e42104eb9343:jetbrains.mps.lang.plugin.standalone" version="0" />
<language slang="l:3a13115c-633c-4c5c-bbcc-75c4219e9555:jetbrains.mps.lang.quotation" version="3" />
<language slang="l:3a13115c-633c-4c5c-bbcc-75c4219e9555:jetbrains.mps.lang.quotation" version="4" />
<language slang="l:3ecd7c84-cde3-45de-886c-135ecc69b742:jetbrains.mps.lang.refactoring" version="0" />
<language slang="l:982eb8df-2c96-4bd7-9963-11712ea622e5:jetbrains.mps.lang.resources" version="2" />
<language slang="l:b3551702-269c-4f05-ba61-58060cef4292:jetbrains.mps.lang.rulesAndMessages" version="0" />
<language slang="l:d8f591ec-4d86-4af2-9f92-a9e93c803ffa:jetbrains.mps.lang.scopes" version="0" />
<language slang="l:0eddeefa-c2d6-4437-bc2c-de50fd4ce470:jetbrains.mps.lang.script" version="1" />
<language slang="l:13744753-c81f-424a-9c1b-cf8943bf4e86:jetbrains.mps.lang.sharedConcepts" version="0" />
<language slang="l:7866978e-a0f0-4cc7-81bc-4d213d9375e1:jetbrains.mps.lang.smodel" version="17" />
<language slang="l:c72da2b9-7cce-4447-8389-f407dc1158b7:jetbrains.mps.lang.structure" version="9" />
<language slang="l:c7fb639f-be78-4307-89b0-b5959c3fa8c8:jetbrains.mps.lang.text" version="0" />
<language slang="l:b83431fe-5c8f-40bc-8a36-65e25f4dd253:jetbrains.mps.lang.textGen" version="1" />
<language slang="l:9ded098b-ad6a-4657-bfd9-48636cfe8bc3:jetbrains.mps.lang.traceable" version="0" />
<language slang="l:7a5dda62-9140-4668-ab76-d5ed1746f2b2:jetbrains.mps.lang.typesystem" version="4" />
<language slang="l:7a5dda62-9140-4668-ab76-d5ed1746f2b2:jetbrains.mps.lang.typesystem" version="5" />
</languageVersions>
<dependencyVersions>
<module reference="3f233e7f-b8a6-46d2-a57f-795d56775243(Annotations)" version="0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<model ref="r:634bd121-336f-4054-974a-8d66f58773bb(com.workday.mps.review.lang.constraints)">
<persistence version="9" />
<languages>
<use id="3f4bc5f5-c6c1-4a28-8b10-c83066ffa4a1" name="jetbrains.mps.lang.constraints" version="5" />
<use id="3f4bc5f5-c6c1-4a28-8b10-c83066ffa4a1" name="jetbrains.mps.lang.constraints" version="6" />
<devkit ref="00000000-0000-4000-0000-5604ebd4f22c(jetbrains.mps.devkit.aspect.constraints)" />
</languages>
<imports />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<model ref="r:e8c9a3ee-938c-4f7a-bdee-28649024e9a0(com.workday.mps.review.lang.typesystem)">
<persistence version="9" />
<languages>
<use id="7a5dda62-9140-4668-ab76-d5ed1746f2b2" name="jetbrains.mps.lang.typesystem" version="4" />
<use id="7a5dda62-9140-4668-ab76-d5ed1746f2b2" name="jetbrains.mps.lang.typesystem" version="5" />
<devkit ref="00000000-0000-4000-0000-1de82b3a4936(jetbrains.mps.devkit.aspect.typesystem)" />
</languages>
<imports />
Expand Down
5 changes: 5 additions & 0 deletions solutions/com.workday.mps.flux/com.workday.mps.flux.msd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<sourcePath />
<dependencies>
<dependency reexport="false">6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)</dependency>
Expand Down
5 changes: 5 additions & 0 deletions solutions/com.workday.mps.git4mps/com.workday.mps.git4mps.msd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<sourcePath />
<dependencies>
<dependency reexport="false">422c2909-59d6-41a9-b318-40e6256b250f(jetbrains.mps.ide.build)</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<sourcePath />
<dependencies>
<dependency reexport="false">6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<sourcePath />
<dependencies>
<dependency reexport="false">422c2909-59d6-41a9-b318-40e6256b250f(jetbrains.mps.ide.build)</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<sourcePath />
<dependencies>
<dependency reexport="false">422c2909-59d6-41a9-b318-40e6256b250f(jetbrains.mps.ide.build)</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<sourcePath />
<dependencies>
<dependency reexport="false">6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)</dependency>
Expand Down
5 changes: 5 additions & 0 deletions solutions/com.workday.mps.review/com.workday.mps.review.msd
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<sourceRoot location="gson-2.8.2.jar" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<stubModelEntries>
<stubModelEntry path="${module}/lib/okhttp-3.10.0.jar" />
<stubModelEntry path="${module}/lib/okio-1.14.0.jar" />
Expand Down
4 changes: 4 additions & 0 deletions solutions/git4mps/git4mps.msd
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
</models>
<facets>
<facet type="ideaPlugin" pluginId="Git4Idea" />
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<stubModelEntries>
<stubModelEntry path="${mps_home}/plugins/git4idea/lib/git4idea-rt.jar" />
Expand All @@ -21,6 +24,7 @@
</dependencies>
<languageVersions>
<language slang="l:f3061a53-9226-4cc5-a443-f952ceaf5816:jetbrains.mps.baseLanguage" version="9" />
<language slang="l:f2801650-65d5-424e-bb1b-463a8781b786:jetbrains.mps.baseLanguage.javadoc" version="2" />
<language slang="l:ceab5195-25ea-4f22-9b92-103b95ca8c0c:jetbrains.mps.lang.core" version="2" />
<language slang="l:9ded098b-ad6a-4657-bfd9-48636cfe8bc3:jetbrains.mps.lang.traceable" version="0" />
</languageVersions>
Expand Down

0 comments on commit 80a32cc

Please sign in to comment.