diff --git a/CHANGELOG.md b/CHANGELOG.md index 09d4988b4d..868736f547 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ Semantic Versioning and the changes are simply documented in reverse chronologic # October 2024 +## com.mbeddr.mpsutil + +### Feature + +- Adds a caching mechanism for caching the retrieval of 'ILogicalChild' by 'ILogicalChildOwner' + ## com.mbeddr.core.base - Diagrams are not auto-layouted before taking a screenshot. diff --git a/build.gradle b/build.gradle index 025c960d41..8081a78994 100644 --- a/build.gradle +++ b/build.gradle @@ -30,27 +30,7 @@ ext.artifactsDir = new File(rootDir, 'artifacts') ext.ciBuild = project.findProperty("forceCI") ?: !project.findProperty('mpsHomeDir') && project.hasProperty("teamcity") afterEvaluate { - ext["itemis.mps.gradle.ant.defaultJavaExecutable"] = tasks.getByName('downloadJbr').javaExecutable - - def jdk_home = null - - if (ext.has('java17_home')) { - jdk_home = ext.get('java17_home') - } else if (System.getenv('JB_JAVA17_HOME') != null) { - jdk_home = System.getenv('JB_JAVA17_HOME') - } - - if(jdk_home != null) { - // Check JDK location - if (!new File(jdk_home, "lib").exists()) { - throw new GradleException("Unable to locate JDK home folder. Detected folder is: $jdk_home") - } else { - ext.jdk_home = jdk_home - logger.info 'Using JDK at {}', jdk_home - ext["itemis.mps.gradle.ant.defaultJavaExecutable"] = new File(jdk_home, 'bin/java') - } - } } def hasNonEmptyProperty(property) { diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.allScripts/models/com/mbeddr/allScripts/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.allScripts/models/com/mbeddr/allScripts/build.mps index 6ef7fc5d09..5ddda0a316 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.allScripts/models/com/mbeddr/allScripts/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.allScripts/models/com/mbeddr/allScripts/build.mps @@ -115,6 +115,7 @@ + @@ -233,6 +234,7 @@ + @@ -303,6 +305,7 @@ + @@ -375,6 +378,7 @@ + @@ -447,6 +451,7 @@ + @@ -519,6 +524,7 @@ + @@ -594,6 +600,7 @@ + @@ -656,6 +663,7 @@ + @@ -726,6 +734,7 @@ + @@ -798,6 +807,7 @@ + diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.build/models/com/mbeddr/build/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.build/models/com/mbeddr/build/build.mps index 79f0faa7b1..8b2e535d60 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.build/models/com/mbeddr/build/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.build/models/com/mbeddr/build/build.mps @@ -147,6 +147,7 @@ + @@ -789,6 +790,7 @@ + @@ -867,6 +869,7 @@ + @@ -975,6 +978,7 @@ + @@ -1055,6 +1059,7 @@ + @@ -1219,6 +1224,7 @@ + @@ -1297,6 +1303,7 @@ + @@ -1568,6 +1575,7 @@ + @@ -1643,6 +1651,7 @@ + @@ -1783,6 +1792,7 @@ + @@ -2267,6 +2277,7 @@ + @@ -2741,6 +2752,7 @@ + @@ -2946,6 +2958,7 @@ + @@ -3300,6 +3313,7 @@ + @@ -3428,6 +3442,7 @@ + @@ -4494,6 +4509,7 @@ + @@ -4827,6 +4843,7 @@ + @@ -4905,6 +4922,7 @@ + @@ -4983,6 +5001,7 @@ + @@ -6174,6 +6193,7 @@ + @@ -7155,6 +7175,7 @@ + @@ -7505,6 +7526,7 @@ + @@ -7998,6 +8020,7 @@ + @@ -8063,6 +8086,7 @@ + @@ -8357,6 +8381,7 @@ + @@ -8634,6 +8659,7 @@ + @@ -8814,6 +8840,7 @@ + @@ -9713,6 +9740,7 @@ + @@ -10254,6 +10282,7 @@ + @@ -10347,6 +10376,7 @@ + @@ -11041,6 +11071,7 @@ + @@ -11138,6 +11169,7 @@ + @@ -11238,6 +11270,7 @@ + diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.cc.tests.dev.build/models/com/mbeddr/cc/tests/dev/build/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.cc.tests.dev.build/models/com/mbeddr/cc/tests/dev/build/build.mps index 058e25377f..197bc1f997 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.cc.tests.dev.build/models/com/mbeddr/cc/tests/dev/build/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.cc.tests.dev.build/models/com/mbeddr/cc/tests/dev/build/build.mps @@ -107,6 +107,7 @@ + @@ -278,6 +279,7 @@ + @@ -381,6 +383,7 @@ + @@ -442,6 +445,7 @@ + @@ -657,6 +661,7 @@ + @@ -710,6 +715,7 @@ + @@ -766,6 +772,7 @@ + @@ -822,6 +829,7 @@ + @@ -878,6 +886,7 @@ + @@ -934,6 +943,7 @@ + diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.build/models/com/mbeddr/core/tests/build/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.build/models/com/mbeddr/core/tests/build/build.mps index 66f89c25d9..b711ca4d0b 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.build/models/com/mbeddr/core/tests/build/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.build/models/com/mbeddr/core/tests/build/build.mps @@ -105,6 +105,7 @@ + @@ -174,6 +175,7 @@ + @@ -242,6 +244,7 @@ + @@ -437,6 +440,7 @@ + @@ -556,6 +560,7 @@ + @@ -722,6 +727,7 @@ + @@ -788,6 +794,7 @@ + @@ -854,6 +861,7 @@ + @@ -933,6 +941,7 @@ + @@ -1007,6 +1016,7 @@ + @@ -1189,6 +1199,7 @@ + @@ -1277,6 +1288,7 @@ + diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.performance.build/models/com/mbeddr/core/tests/performance/build/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.performance.build/models/com/mbeddr/core/tests/performance/build/build.mps index 9c99d965be..34901ef1dc 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.performance.build/models/com/mbeddr/core/tests/performance/build/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.performance.build/models/com/mbeddr/core/tests/performance/build/build.mps @@ -103,6 +103,7 @@ + @@ -186,6 +187,7 @@ + diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.ext.build/models/com/mbeddr/ext/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.ext.build/models/com/mbeddr/ext/build.mps index 379c3772be..362305ac62 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.ext.build/models/com/mbeddr/ext/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.ext.build/models/com/mbeddr/ext/build.mps @@ -113,6 +113,7 @@ + @@ -296,6 +297,7 @@ + @@ -352,6 +354,7 @@ + @@ -405,6 +408,7 @@ + @@ -466,6 +470,7 @@ + @@ -549,6 +554,7 @@ + @@ -610,6 +616,7 @@ + @@ -665,6 +672,7 @@ + @@ -725,6 +733,7 @@ + @@ -785,6 +794,7 @@ + @@ -845,6 +855,7 @@ + @@ -905,6 +916,7 @@ + @@ -1171,6 +1183,7 @@ + @@ -1247,6 +1260,7 @@ + @@ -1313,6 +1327,7 @@ + @@ -1379,6 +1394,7 @@ + @@ -1445,6 +1461,7 @@ + @@ -1506,6 +1523,7 @@ + @@ -1585,6 +1603,7 @@ + @@ -1638,6 +1657,7 @@ + @@ -1704,6 +1724,7 @@ + diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps index ce87276a77..335a59a25d 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps @@ -368,6 +368,12 @@ + + + + + + @@ -867,25 +873,6 @@ - - - - - - - - - - - - - - - - - - - @@ -913,6 +900,25 @@ + + + + + + + + + + + + + + + + + + + @@ -1006,25 +1012,6 @@ - - - - - - - - - - - - - - - - - - - @@ -1047,6 +1034,25 @@ + + + + + + + + + + + + + + + + + + + @@ -1544,6 +1550,21 @@ + + + + + + + + + + + + + + + @@ -1572,36 +1593,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1624,6 +1615,21 @@ + + + + + + + + + + + + + + + @@ -1658,23 +1664,23 @@ - + - - + + - - - + + + - + - + @@ -1713,23 +1719,23 @@ - + - - + + - - - + + + - + - + @@ -1768,23 +1774,23 @@ - + - - + + - - - + + + - + - + @@ -1823,23 +1829,23 @@ - + - - + + - - - + + + - + - + @@ -1878,23 +1884,23 @@ - + - - + + - - - + + + - + - + @@ -1933,23 +1939,23 @@ - + - - + + - - - + + + - + - + @@ -2769,6 +2775,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2917,6 +3064,9 @@ + + + @@ -3894,64 +4044,64 @@ - - - + + + + + + - + - + - + - - - - - + + + + + - - - + + + - + - + - + - - - - - - + + + - - - + + + - + - + - + - + - - + + @@ -3960,20 +4110,20 @@ - - - + + + - + - + - + - + - - + + @@ -3982,20 +4132,20 @@ - - - + + + - + - + - + - + - - + + @@ -4004,20 +4154,20 @@ - - - + + + - + - + - + - + - - + + @@ -4026,48 +4176,48 @@ - - - - - - + + + - + - + - + - - + + + + + - - - - - - + + + - + - + - + + + + + + + - - - diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps index 38232d86ee..33465f423a 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps @@ -1286,9 +1286,6 @@ - - - @@ -1298,6 +1295,9 @@ + + + @@ -1527,37 +1527,46 @@ - - - + + + + + + - + - + - - - - - + + + + + + + + + + + - - - + + + - + - + - + - - + + @@ -1565,18 +1574,18 @@ - - - + + + - + - + - + - - + + @@ -1584,18 +1593,18 @@ - - - + + + - + - + - + - - + + @@ -1603,18 +1612,18 @@ - - - + + + - + - + - + - - + + @@ -1622,18 +1631,18 @@ - - - + + + - + - + - + - - + + @@ -1641,18 +1650,18 @@ - - - + + + - + - + - + - - + + @@ -1660,18 +1669,18 @@ - - - + + + - + - + - + - - + + @@ -1679,18 +1688,18 @@ - - - + + + - + - + - + - - + + @@ -1698,18 +1707,18 @@ - - - + + + - + - + - + - - + + @@ -1717,18 +1726,18 @@ - - - + + + - + - + - + - - + + @@ -1736,18 +1745,18 @@ - - - + + + - + - + - + - - + + @@ -1755,18 +1764,18 @@ - - - + + + - + - + - + - - + + @@ -1774,18 +1783,18 @@ - - - + + + - + - + - + - - + + @@ -1793,32 +1802,23 @@ - - - - - - + + + - + - + - - + + + + + - - - - - - - - - @@ -2325,18 +2325,23 @@ - - - + + + + + + + + - + - + - + - - + + @@ -2344,23 +2349,18 @@ - - - - - - - - + + + - + - + - + - - + + @@ -2368,18 +2368,18 @@ - - - + + + - + - + - + - - + + @@ -2387,18 +2387,18 @@ - - - + + + - + - + - + - - + + @@ -2433,25 +2433,6 @@ - - - - - - - - - - - - - - - - - - - @@ -2468,6 +2449,25 @@ + + + + + + + + + + + + + + + + + + + @@ -2541,52 +2541,61 @@ - - - + + + + + + + + + + + + + + + + + - + - + - + - + - - - - - + + + + + - - - - - - - - + + + - + - + - + - + - + - - + + @@ -2596,38 +2605,29 @@ - - - - - - - - - - - - + + + - + - + - + - + - - + + + + + - - - @@ -7668,37 +7668,40 @@ - - - + + + + + + - + - + - - - - - + + + + + - - - + + + - + - + - + - - + + @@ -7706,26 +7709,23 @@ - - - - - - + + + - + - + - - + + + + + - - - @@ -9421,47 +9421,70 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - - - - - + + + + + - - - + + + - + - + - + - + - + - - + + @@ -9471,22 +9494,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9496,22 +9519,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9521,22 +9544,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9546,22 +9569,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9571,22 +9594,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9596,22 +9619,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9621,22 +9644,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9646,22 +9669,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9671,22 +9694,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9696,22 +9719,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9721,22 +9744,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9746,22 +9769,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9771,22 +9794,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9796,22 +9819,22 @@ - - - + + + - + - + - + - + - + - - + + @@ -9821,52 +9844,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + - + - + - + - - + + + + + - - - @@ -12039,25 +12039,6 @@ - - - - - - - - - - - - - - - - - - - @@ -12080,6 +12061,25 @@ + + + + + + + + + + + + + + + + + + + @@ -13193,56 +13193,56 @@ - - - + + + + + + - + - + - - - - - + + + + + - - - + + + + + + - + - + - - - - - - - - - + + + - + - + - + - - + + @@ -13250,18 +13250,18 @@ - - - + + + - + - + - + - - + + @@ -13269,39 +13269,39 @@ - - - - - - + + + - + - + - - + + + + + - - - - - - - - - + + + - + - + + + + + + + @@ -16782,67 +16782,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -16976,416 +16915,78 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - + + - - - + + + - + - + - + - + @@ -17394,17 +16995,17 @@ - - - + + + - + - + - + - + @@ -17413,17 +17014,17 @@ - - - + + + - + - + - + - + @@ -17432,17 +17033,17 @@ - - - + + + - + - + - + - + @@ -17451,17 +17052,17 @@ - - - + + + - + - + - + - + @@ -17470,17 +17071,17 @@ - - - + + + - + - + - + - + @@ -17489,17 +17090,17 @@ - - - + + + - + - + - + - + @@ -17508,17 +17109,17 @@ - - - + + + - + - + - + - + @@ -17527,17 +17128,17 @@ - - - + + + - + - + - + - + @@ -17546,17 +17147,17 @@ - - - + + + - + - + - + - + @@ -17565,17 +17166,17 @@ - - - + + + - + - + - + - + @@ -17584,17 +17185,17 @@ - - - + + + - + - + - + - + @@ -17603,17 +17204,17 @@ - - - + + + - + - + - + - + @@ -17622,17 +17223,17 @@ - - - + + + - + - + - + - + @@ -17641,17 +17242,17 @@ - - - + + + - + - + - + - + @@ -17660,17 +17261,17 @@ - - - + + + - + - + - + - + @@ -17679,17 +17280,17 @@ - - - + + + - + - + - + - + @@ -17698,17 +17299,17 @@ - - - + + + - + - + - + - + @@ -17717,17 +17318,17 @@ - - - + + + - + - + - + - + @@ -17736,17 +17337,17 @@ - - - + + + - + - + - + - + @@ -17755,17 +17356,17 @@ - - - + + + - + - + - + - + @@ -17774,17 +17375,17 @@ - - - + + + - + - + - + - + @@ -17793,17 +17394,17 @@ - - - + + + - + - + - + - + @@ -17812,17 +17413,17 @@ - - - + + + - + - + - + - + @@ -17831,17 +17432,17 @@ - - - + + + - + - + - + - + @@ -17850,17 +17451,17 @@ - - - + + + - + - + - + - + @@ -17869,17 +17470,17 @@ - - - + + + - + - + - + - + @@ -17888,17 +17489,17 @@ - - - + + + - + - + - + - + @@ -17907,17 +17508,17 @@ - - - + + + - + - + - + - + @@ -17926,17 +17527,17 @@ - - - + + + - + - + - + - + @@ -17945,17 +17546,17 @@ - - - + + + - + - + - + - + @@ -17964,17 +17565,17 @@ - - - + + + - + - + - + - + @@ -17983,17 +17584,17 @@ - - - + + + - + - + - + - + @@ -18002,17 +17603,17 @@ - - - + + + - + - + - + - + @@ -18021,17 +17622,17 @@ - - - + + + - + - + - + - + @@ -18077,25 +17678,6 @@ - - - - - - - - - - - - - - - - - - - @@ -18193,6 +17775,25 @@ + + + + + + + + + + + + + + + + + + + @@ -19019,37 +18620,40 @@ - - - + + + + + + - + - + - - - - - + + + + + - - - + + + - + - + - + - - + + @@ -19057,26 +18661,23 @@ - - - - - - + + + - + - + - - + + + + + - - - @@ -19337,17 +18938,23 @@ - - - + + + + + + + + + - + - + - + - + @@ -19356,12 +18963,6 @@ - - - - - - @@ -21257,9 +20858,9 @@ - - - + + + @@ -21300,6 +20901,11 @@ + + + + + @@ -21892,6 +21498,7 @@ + diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.xmodel.build/models/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.xmodel.build/models/build.mps index 037abf69f5..7cf8fd48ac 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.xmodel.build/models/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.xmodel.build/models/build.mps @@ -97,6 +97,7 @@ + @@ -179,6 +180,7 @@ + diff --git a/code/languages/com.mbeddr.mpsutil/.mps/modules.xml b/code/languages/com.mbeddr.mpsutil/.mps/modules.xml index 74926eb7f5..33ed59ba98 100644 --- a/code/languages/com.mbeddr.mpsutil/.mps/modules.xml +++ b/code/languages/com.mbeddr.mpsutil/.mps/modules.xml @@ -186,6 +186,7 @@ + diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl index 7f673ec63c..33313cb63b 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl @@ -1,7 +1,7 @@ - + @@ -12,12 +12,13 @@ - 6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core) 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) + 498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA) - + @@ -54,6 +55,7 @@ + diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index 268c8d42ff..510f20b3e5 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -1,18 +1,25 @@ + - + - - + + + + + + + + @@ -30,8 +37,16 @@ + + + + + + + + @@ -42,26 +57,46 @@ + + + + + + + + + + + + + + + + + + + + @@ -80,23 +115,45 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -104,6 +161,9 @@ + + + @@ -112,20 +172,35 @@ + + + + + + + + + + + + + + + @@ -178,14 +253,28 @@ + + + + + + + + + + + + + + @@ -240,56 +329,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - - - + + + + + + @@ -342,21 +408,30 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - @@ -448,6 +523,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -514,6 +655,769 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox/models/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox.testbuffer.mps b/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox/models/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox.testbuffer.mps new file mode 100644 index 0000000000..790f1931e9 --- /dev/null +++ b/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox/models/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox.testbuffer.mps @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps new file mode 100644 index 0000000000..586fef7696 --- /dev/null +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps @@ -0,0 +1,1619 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd new file mode 100644 index 0000000000..aae193373a --- /dev/null +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + 286e2375-00e3-4042-b083-84873dd623be(com.mbeddr.mpsutil.logicalChild.sandbox) + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/subprojects/com.mbeddr/build.gradle b/subprojects/com.mbeddr/build.gradle index fffe957f70..5f32846146 100755 --- a/subprojects/com.mbeddr/build.gradle +++ b/subprojects/com.mbeddr/build.gradle @@ -1,10 +1,16 @@ import de.itemis.mps.gradle.tasks.MpsMigrate import de.itemis.mps.gradle.tasks.Remigrate +import de.itemis.mps.gradle.downloadJBR.DownloadJbrForPlatform plugins { id 'de.itemis.mps.gradle.common' } +apply plugin: 'download-jbr' + +downloadJbr { + jbrVersion = '17.0.8.1-b1000.32' +} // path variables // If mpsHomeDir is set explicitly, skip the MPS resolution step and use the explicit path (which may be relative from // the root directory). @@ -46,18 +52,6 @@ task install() { logger.info "skipresolve_mps: {}, mpsHomeDir: {}", ext.skipresolve_mps, ext.mpsHomeDir -// JDK_HOME required for adding tools.jar into classpath of the forked ant process -if (!hasProperty("jdk_home")) { - def java_home = System.properties['java.home'] - def jdk_home = java_home - if (!file("$jdk_home/lib").exists()) { - throw new GradleException("Was not able to locate jdk home folder. Use 'jdk_home' project variable to specify JDK location explicitly. Current JAVA_HOME is: $java_home") - } - ext.jdk_home = jdk_home -} - -logger.info "jdk_home: $jdk_home" - ext.artifactsDir = file(rootProject.projectDir.absolutePath + "/artifacts") Map antSystemProperties = [ @@ -191,7 +185,9 @@ List projectDirectoriesInDependencyOrder = projectsInDependencyOrder.colle } tasks.register('migrate', MpsMigrate) { - dependsOn(':com.mbeddr:platform:generate_platform_languages') + dependsOn(':com.mbeddr:platform:generate_platform_languages', 'downloadJbr') + javaLauncher = tasks.named('downloadJbr', DownloadJbrForPlatform).flatMap { it.javaLauncher } + mpsHome = mpsHomeDir projectDirectories.from(projectDirectoriesInDependencyOrder) @@ -203,7 +199,9 @@ tasks.register('migrate', MpsMigrate) { } tasks.register('remigrate', Remigrate) { - dependsOn(':com.mbeddr:platform:generate_platform_languages') + dependsOn(':com.mbeddr:platform:generate_platform_languages', 'downloadJbr') + javaLauncher = tasks.named('downloadJbr', DownloadJbrForPlatform).flatMap { it.javaLauncher } + mpsHome = mpsHomeDir projectDirectories.from(projectDirectoriesInDependencyOrder)