From 406b8277f342277430522a5fe865918aff0d9353 Mon Sep 17 00:00:00 2001 From: Alexander Rimer Date: Tue, 12 Mar 2024 13:43:32 +0100 Subject: [PATCH 1/4] build:ThirdParty: added extract jar from idea layout - added back .app jar - added com.intellij pluginID to overcome classloading issues third.party.test: added mock to check for classloading issues --- code/.mps/modules.xml | 1 + .../models/de.itemis.mps.extensions.build.mps | 89 +++++++++++++++++-- .../MPS.ThirdParty/MPS.ThirdParty.msd | 4 + .../models/third.party.usage.test.mdl.mps | 42 +++++++++ .../third.party.usage.test.msd | 27 ++++++ 5 files changed, 157 insertions(+), 6 deletions(-) create mode 100644 code/third-party/solutions/third.party.usage.test/models/third.party.usage.test.mdl.mps create mode 100644 code/third-party/solutions/third.party.usage.test/third.party.usage.test.msd diff --git a/code/.mps/modules.xml b/code/.mps/modules.xml index e1e53bec5..07f68beee 100644 --- a/code/.mps/modules.xml +++ b/code/.mps/modules.xml @@ -192,6 +192,7 @@ + diff --git a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps index 09d5c3e53..3dce7fc20 100644 --- a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps +++ b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps @@ -107,6 +107,9 @@ + + + @@ -201,6 +204,7 @@ + @@ -912,10 +916,10 @@ - + @@ -955,6 +959,19 @@ + + + + + + + + + + + + + @@ -13439,11 +13456,6 @@ - - - - - @@ -13484,6 +13496,11 @@ + + + + + @@ -15250,6 +15267,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -20241,6 +20305,16 @@ + + + + + + + + + + @@ -20470,6 +20544,9 @@ + + + diff --git a/code/third-party/solutions/MPS.ThirdParty/MPS.ThirdParty.msd b/code/third-party/solutions/MPS.ThirdParty/MPS.ThirdParty.msd index 88c291b1f..3ed2010f6 100644 --- a/code/third-party/solutions/MPS.ThirdParty/MPS.ThirdParty.msd +++ b/code/third-party/solutions/MPS.ThirdParty/MPS.ThirdParty.msd @@ -9,7 +9,11 @@ + + + + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) diff --git a/code/third-party/solutions/third.party.usage.test/models/third.party.usage.test.mdl.mps b/code/third-party/solutions/third.party.usage.test/models/third.party.usage.test.mdl.mps new file mode 100644 index 000000000..b048feffc --- /dev/null +++ b/code/third-party/solutions/third.party.usage.test/models/third.party.usage.test.mdl.mps @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/third-party/solutions/third.party.usage.test/third.party.usage.test.msd b/code/third-party/solutions/third.party.usage.test/third.party.usage.test.msd new file mode 100644 index 000000000..c7d6975ab --- /dev/null +++ b/code/third-party/solutions/third.party.usage.test/third.party.usage.test.msd @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + 39983771-4e9b-401b-a1a9-1da6c777c843(MPS.ThirdParty) + + + + + + + + + + + + From 791b08daea62c3ade7acb8875f2c948b455a8886 Mon Sep 17 00:00:00 2001 From: Alexander Rimer Date: Tue, 12 Mar 2024 20:25:14 +0100 Subject: [PATCH 2/4] MPS.ThirdParty: updated module properties and build aligned with other solution like JAXB --- .../models/de.itemis.mps.extensions.build.mps | 21 ++++++++++--------- .../MPS.ThirdParty/MPS.ThirdParty.msd | 8 +++---- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps index 3dce7fc20..054e11a1b 100644 --- a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps +++ b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps @@ -935,11 +935,6 @@ - - - - - @@ -959,15 +954,21 @@ - - - + + + + + + + + + - + - + diff --git a/code/third-party/solutions/MPS.ThirdParty/MPS.ThirdParty.msd b/code/third-party/solutions/MPS.ThirdParty/MPS.ThirdParty.msd index 3ed2010f6..4683eb527 100644 --- a/code/third-party/solutions/MPS.ThirdParty/MPS.ThirdParty.msd +++ b/code/third-party/solutions/MPS.ThirdParty/MPS.ThirdParty.msd @@ -1,13 +1,13 @@ - + - - + + @@ -16,7 +16,7 @@ - 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) From 9bef3b401b930b721c63ef2ef2a9b775567e496b Mon Sep 17 00:00:00 2001 From: Alexander Rimer Date: Wed, 13 Mar 2024 10:17:09 +0100 Subject: [PATCH 3/4] build:MPS.ThirdParty: updated plugin packaging instead of packing the default modules content we create a custom jar of the module --- .../models/de.itemis.mps.extensions.build.mps | 44 +++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps index 054e11a1b..97d611972 100644 --- a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps +++ b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps @@ -167,7 +167,6 @@ - @@ -193,10 +192,6 @@ - - - - @@ -14872,16 +14867,39 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 000768993c42d8246e1adb7577849d06bdcc0c42 Mon Sep 17 00:00:00 2001 From: Alexander Rimer Date: Wed, 13 Mar 2024 11:21:46 +0100 Subject: [PATCH 4/4] third.party: we now use content from the third.party stub solution --- .../models/third.party.usage.test.mdl.mps | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/third-party/solutions/third.party.usage.test/models/third.party.usage.test.mdl.mps b/code/third-party/solutions/third.party.usage.test/models/third.party.usage.test.mdl.mps index b048feffc..ff5b152e4 100644 --- a/code/third-party/solutions/third.party.usage.test/models/third.party.usage.test.mdl.mps +++ b/code/third-party/solutions/third.party.usage.test/models/third.party.usage.test.mdl.mps @@ -9,7 +9,6 @@ - @@ -18,6 +17,9 @@ + + + @@ -34,7 +36,9 @@ - + + +