Skip to content

Commit

Permalink
Rebuild build scripts + update builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
cdelabou committed Jan 6, 2022
1 parent 7e4a30f commit 60e11b1
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 16 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -36,7 +36,6 @@
/build/resources/openJDK
classes
classes_gen
kotlin_gen
testclasses
teamcity-info.xml
*.hprof
Expand Down
2 changes: 1 addition & 1 deletion .mps/modules.xml
Expand Up @@ -327,7 +327,7 @@
<modulePath path="$PROJECT_DIR$/plugins/mps-kotlin/solutions/kotlin.baseLanguage.runtime/jetbrains.mps.kotlin.baseLanguage.runtime.msd" folder="core.languages.kotlin.interop" />
<modulePath path="$PROJECT_DIR$/plugins/mps-kotlin/solutions/kotlin.make/jetbrains.mps.kotlin.make.msd" folder="core.languages.kotlin.execution" />
<modulePath path="$PROJECT_DIR$/plugins/mps-kotlin/solutions/kotlin.runtime/jetbrains.mps.kotlin.runtime.msd" folder="core.languages.kotlin" />
<modulePath path="$PROJECT_DIR$/plugins/mps-kotlin/solutions/stubs/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" folder="core.languages.kotlin" />
<modulePath path="$PROJECT_DIR$/plugins/mps-kotlin/solutions/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" folder="core.languages.kotlin" />
<modulePath path="$PROJECT_DIR$/plugins/mps-make/jetbrains.mps.ide.make.msd" folder="platform" />
<modulePath path="$PROJECT_DIR$/plugins/mps-migration/migration-platform/solutions/component/jetbrains.mps.migration.component.msd" folder="platform.migration" />
<modulePath path="$PROJECT_DIR$/plugins/mps-migration/solutions/migration.workbench/jetbrains.mps.migration.workbench.msd" folder="platform.migration" />
Expand Down
4 changes: 4 additions & 0 deletions build/getDependencies.xml
Expand Up @@ -360,6 +360,10 @@
<unzip src="${basedir}/../plugins/mps-kotlin/lib/kotlin-compiler-embeddable-${kotlin.version}.jar" dest="${basedir}/../plugins/mps-kotlin/lib/kotlin-builtins/">
<patternset>
<include name="**/*.kotlin_builtins"/>

<!-- TODO for some reason data in kotlin reflect is duplicated in kotlin-common-stdlib, until some adequate merging is performed it is better to keep it
this way -->
<exclude name="kotlin/reflect/reflect.kotlin_builtins"/>
</patternset>
</unzip>
<jar basedir="${basedir}/../plugins/mps-kotlin/lib/kotlin-builtins/" destfile="${basedir}/../plugins/mps-kotlin/lib/kotlin-builtins.jar"/>
Expand Down
6 changes: 3 additions & 3 deletions build/mpsKotlinPlugin.xml
Expand Up @@ -152,7 +152,6 @@
<language id="l:982eb8df-2c96-4bd7-9963-11712ea622e5:jetbrains.mps.lang.resources" />
<language id="l:b3551702-269c-4f05-ba61-58060cef4292:jetbrains.mps.lang.rulesAndMessages" />
<language id="l:d8f591ec-4d86-4af2-9f92-a9e93c803ffa:jetbrains.mps.lang.scopes" />
<language id="l:13744753-c81f-424a-9c1b-cf8943bf4e86:jetbrains.mps.lang.sharedConcepts" />
<language id="l:69b8a993-9b87-4d96-bf0c-3559f4bb0c63:jetbrains.mps.lang.slanguage" />
<language id="l:7866978e-a0f0-4cc7-81bc-4d213d9375e1:jetbrains.mps.lang.smodel" />
<language id="l:1a8554c4-eb84-43ba-8c34-6f0d90c6e75a:jetbrains.mps.lang.smodel.query" />
Expand Down Expand Up @@ -473,6 +472,7 @@
<module ref="d936855b-48da-4812-a8a0-2bfddd633ac5(jetbrains.mps.lang.behavior.api)" kind="rt" />
<module ref="d936855b-48da-4812-a8a0-2bfddd633ac4(jetbrains.mps.lang.behavior.runtime)" kind="rt" />
<module ref="9a4afe51-f114-4595-b5df-048ce3c596be(jetbrains.mps.runtime)" kind="rt" />
<module ref="3f233e7f-b8a6-46d2-a57f-795d56775243(Annotations)" kind="cl" />
<module ref="6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)" kind="cl" />
<module ref="8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI)" kind="cl" />
<module ref="6b3888c1-9802-44d8-8baf-f8e6c33ed689(jetbrains.mps.kotlin)" kind="cl" />
Expand Down Expand Up @@ -522,7 +522,7 @@
</module>
</echoxml>
<jar destfile="${build.layout}/mps-kotlin/languages/kotlin/jetbrains.mps.kotlin.stdlib.jar" duplicate="preserve">
<zipfileset file="${plugin_home}/solutions/stubs/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" prefix="module" />
<zipfileset file="${plugin_home}/solutions/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" prefix="module" />
<fileset dir="${build.tmp}/default/jetbrains.mps.kotlin.stdlib.jar" />
</jar>
<mkdir dir="${build.tmp}/default/jetbrains.mps.kotlin.make.jar" />
Expand Down Expand Up @@ -792,7 +792,7 @@
<module file="${plugin_home}/languages/kotlin.javaRefs/jetbrains.mps.kotlin.javaRefs.mpl" />
<module file="${plugin_home}/solutions/kotlin.make/jetbrains.mps.kotlin.make.msd" />
<module file="${plugin_home}/solutions/kotlin.runtime/jetbrains.mps.kotlin.runtime.msd" />
<module file="${plugin_home}/solutions/stubs/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" />
<module file="${plugin_home}/solutions/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" />
</chunk>
<jvmargs>
<arg value="-ea" />
Expand Down
16 changes: 9 additions & 7 deletions plugins/mps-build/solutions/mpsBuild/models/build.mps
Expand Up @@ -52015,6 +52015,11 @@
<ref role="3bR37D" node="Ye$g8PO8Uc" resolve="jetbrains.mps.kotlin" />
</node>
</node>
<node concept="1SiIV0" id="1pD7IS3nHrA" role="3bR37C">
<node concept="3bR9La" id="1pD7IS3nHrB" role="1SiIV1">
<ref role="3bR37D" node="44LXwdzyvTi" resolve="Annotations" />
</node>
</node>
</node>
<node concept="1E1JtA" id="Ye$g8PO9xV" role="2G$12L">
<property role="BnDLt" value="true" />
Expand All @@ -52025,13 +52030,10 @@
<ref role="398BVh" node="1fy59xXoa5p" resolve="plugin_home" />
<node concept="2Ry0Ak" id="Ye$g8PO9xX" role="iGT6I">
<property role="2Ry0Am" value="solutions" />
<node concept="2Ry0Ak" id="Ye$g8PO9xY" role="2Ry0An">
<property role="2Ry0Am" value="stubs" />
<node concept="2Ry0Ak" id="Ye$g8PO9xZ" role="2Ry0An">
<property role="2Ry0Am" value="kotlin.stdlib" />
<node concept="2Ry0Ak" id="Ye$g8PO9y0" role="2Ry0An">
<property role="2Ry0Am" value="jetbrains.mps.kotlin.stdlib.msd" />
</node>
<node concept="2Ry0Ak" id="Ye$g8PO9xZ" role="2Ry0An">
<property role="2Ry0Am" value="kotlin.stdlib" />
<node concept="2Ry0Ak" id="Ye$g8PO9y0" role="2Ry0An">
<property role="2Ry0Am" value="jetbrains.mps.kotlin.stdlib.msd" />
</node>
</node>
</node>
Expand Down
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<product version="3" modelHash="-aeglp40mwj9o5g92unrnc5j3aom022q">
<product version="3" modelHash="-9fe7smbhmp58zx2cleqabrdxwcav090">
<files names="Info.plist.xml:installer.nsi:jetpad.xml:mps.bat:mps.sh:mps.vmoptions:mps.xml:mps64.vmoptions:mpsBootstrapCore.xml:mpsBuild.xml:mpsBuildUI.xml:mpsConsolePlugin.xml:mpsContextActionsTool.xml:mpsCore.xml:mpsDebuggerPlugin.xml:mpsDevKit.xml:mpsDiagramEditor.xml:mpsDistribution.xml:mpsExecutionPlugin.xml:mpsHttpSupportPlugin.xml:mpsJava.xml:mpsJavaCore.xml:mpsJavaCorePre.xml:mpsJavaPlatform.xml:mpsJavaPlatformPre.xml:mpsJavaPre.xml:mpsKotlinPlugin.xml:mpsMakePlugin.xml:mpsMaven.xml:mpsMigration.xml:mpsMigrationCore.xml:mpsPlugins.xml:mpsSpellCheckPlugin.xml:mpsStandalone.xml:mpsTesting.xml:mpsTooltips.xml:mpsTroveCollections.xml:mpsTrueBootstrap.xml:mpsVcs.xml:mpsVcsPlatform.xml:mpsVcsStandaloneJar.xml:mpsWorkbench.xml" />
</product>

Expand Up @@ -152,7 +152,6 @@
<language id="l:982eb8df-2c96-4bd7-9963-11712ea622e5:jetbrains.mps.lang.resources" />
<language id="l:b3551702-269c-4f05-ba61-58060cef4292:jetbrains.mps.lang.rulesAndMessages" />
<language id="l:d8f591ec-4d86-4af2-9f92-a9e93c803ffa:jetbrains.mps.lang.scopes" />
<language id="l:13744753-c81f-424a-9c1b-cf8943bf4e86:jetbrains.mps.lang.sharedConcepts" />
<language id="l:69b8a993-9b87-4d96-bf0c-3559f4bb0c63:jetbrains.mps.lang.slanguage" />
<language id="l:7866978e-a0f0-4cc7-81bc-4d213d9375e1:jetbrains.mps.lang.smodel" />
<language id="l:1a8554c4-eb84-43ba-8c34-6f0d90c6e75a:jetbrains.mps.lang.smodel.query" />
Expand Down Expand Up @@ -473,6 +472,7 @@
<module ref="d936855b-48da-4812-a8a0-2bfddd633ac5(jetbrains.mps.lang.behavior.api)" kind="rt" />
<module ref="d936855b-48da-4812-a8a0-2bfddd633ac4(jetbrains.mps.lang.behavior.runtime)" kind="rt" />
<module ref="9a4afe51-f114-4595-b5df-048ce3c596be(jetbrains.mps.runtime)" kind="rt" />
<module ref="3f233e7f-b8a6-46d2-a57f-795d56775243(Annotations)" kind="cl" />
<module ref="6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)" kind="cl" />
<module ref="8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI)" kind="cl" />
<module ref="6b3888c1-9802-44d8-8baf-f8e6c33ed689(jetbrains.mps.kotlin)" kind="cl" />
Expand Down Expand Up @@ -522,7 +522,7 @@
</module>
</echoxml>
<jar destfile="${build.layout}/mps-kotlin/languages/kotlin/jetbrains.mps.kotlin.stdlib.jar" duplicate="preserve">
<zipfileset file="${plugin_home}/solutions/stubs/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" prefix="module" />
<zipfileset file="${plugin_home}/solutions/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" prefix="module" />
<fileset dir="${build.tmp}/default/jetbrains.mps.kotlin.stdlib.jar" />
</jar>
<mkdir dir="${build.tmp}/default/jetbrains.mps.kotlin.make.jar" />
Expand Down Expand Up @@ -792,7 +792,7 @@
<module file="${plugin_home}/languages/kotlin.javaRefs/jetbrains.mps.kotlin.javaRefs.mpl" />
<module file="${plugin_home}/solutions/kotlin.make/jetbrains.mps.kotlin.make.msd" />
<module file="${plugin_home}/solutions/kotlin.runtime/jetbrains.mps.kotlin.runtime.msd" />
<module file="${plugin_home}/solutions/stubs/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" />
<module file="${plugin_home}/solutions/kotlin.stdlib/jetbrains.mps.kotlin.stdlib.msd" />
</chunk>
<jvmargs>
<arg value="-ea" />
Expand Down

0 comments on commit 60e11b1

Please sign in to comment.