Skip to content

Commit

Permalink
Merge pull request #2509 from mbeddr/feature/remove-debugger
Browse files Browse the repository at this point in the history
[breaking] Remove spawner and debugger
  • Loading branch information
sergej-koscejev authored Sep 15, 2024
2 parents 9ed13dd + 15e8922 commit 05c213b
Show file tree
Hide file tree
Showing 669 changed files with 6,528 additions and 298,654 deletions.
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,6 @@ tools/zgrviewer/zvtm-core-formps/target/*
# compiled java classes within the ant-task eclipse workspace
ant-task-workspace/*/bin/

# -----------------------------------------------------------
# debugger test code
code/languages/com.mbeddr.debugger/tests/test.debugger.cdt/testcode/a.*
code/languages/com.mbeddr.debugger/tests/test.debugger.cdt/testcode/*.exe
code/languages/com.mbeddr.debugger/tests/test.debugger.cdt/testcode/debuggableTest*
code/languages/com.mbeddr.debugger/tests/test.debugger.cdt/testcode/debuggableTest
code/languages/com.mbeddr.debugger/tests/test.debugger.cdt/testcode/

# other test resources
code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.iconchar/icons/

Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Semantic Versioning and the changes are simply documented in reverse chronologic

# September 2024

* Breaking change: debugger and spawner were not maintained and were removed.

## com.mbeddr.mpsutil.margincell

### Fixed
Expand Down
130 changes: 1 addition & 129 deletions build/com.mbeddr.allScripts/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,47 +214,6 @@
</jar>
<mkdir dir="${build.layout}/mbeddr.allScripts/languages" />
<mkdir dir="${build.layout}/mbeddr.allScripts/languages/com.mbeddr.tests" />
<mkdir dir="${build.tmp}/default/com.mbeddr.debugger.testing.build.dev.build.jar" />
<mkdir dir="${build.tmp}/default/com.mbeddr.debugger.testing.build.dev.build.jar/META-INF" />
<echoxml file="${build.tmp}/default/com.mbeddr.debugger.testing.build.dev.build.jar/META-INF/module.xml">
<module namespace="com.mbeddr.debugger.testing.build.dev.build" type="solution" uuid="0ecd68a7-ad67-4d1c-adb3-67b1e6f82ffa">
<dependencies>
<module ref="7ac0dfb8-7d5f-4573-ab80-81af2106ce03(com.mbeddr.build)" kind="cl" />
<module ref="2098f9e9-7b8d-4ee4-8e3f-46840f7fc3dd(com.mbeddr.debugger.tests.dev.build)" kind="cl" />
<module ref="3ae9cfda-f938-4524-b4ca-fbcba3b0525b(com.mbeddr.platform)" kind="cl" />
<module ref="f1fb7b1c-ce0d-423c-9369-4a661d600029(de.itemis.mps.extensions.build)" kind="cl" />
<module ref="422c2909-59d6-41a9-b318-40e6256b250f(jetbrains.mps.ide.build)" kind="cl" />
</dependencies>
<uses>
<language id="l:798100da-4f0a-421a-b991-71f8c50ce5d2:jetbrains.mps.build" />
<language id="l:0cf935df-4699-4e9c-a132-fa109541cba3:jetbrains.mps.build.mps" />
<language id="l:3600cb0a-44dd-4a5b-9968-22924406419e:jetbrains.mps.build.mps.tests" />
</uses>
<classpath>
<entry path="." />
</classpath>
<sources jar="com.mbeddr.debugger.testing.build.dev.build-src.jar" descriptor="com.mbeddr.debugger-test.build.dev.build.msd" />
</module>
</echoxml>
<jar destfile="${build.layout}/mbeddr.allScripts/languages/com.mbeddr.tests/com.mbeddr.debugger.testing.build.dev.build.jar" duplicate="preserve">
<fileset dir="${build.tmp}/java/out/com.mbeddr.debugger.testing.build.dev.build" />
<fileset dir="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.debugger-test.build.dev.build" includes="icons/**, resources/**" />
<fileset dir="${mbeddr.build}/solutions/com.mbeddr.debugger-test.build.dev.build/source_gen" includes="**/trace.info, **/exports, **/*.mps, **/checkpoints" />
<fileset dir="${build.tmp}/default/com.mbeddr.debugger.testing.build.dev.build.jar" />
</jar>
<copyModels todir="${build.tmp}/customProcessors/copyModels/solutions-com.mbeddr.debugger-test.build.dev.build-models">
<fileset dir="${mbeddr.build}/solutions/com.mbeddr.debugger-test.build.dev.build/models" includes="**/*.mps, **/*.mpsr, **/.model" />
</copyModels>
<jar destfile="${build.layout}/mbeddr.allScripts/languages/com.mbeddr.tests/com.mbeddr.debugger.testing.build.dev.build-src.jar" duplicate="preserve">
<fileset dir="${mbeddr.build}/solutions/com.mbeddr.debugger-test.build.dev.build/source_gen">
<exclude name="**/trace.info" />
<exclude name="**/exports" />
<exclude name="**/checkpoints" />
<exclude name="**/*.mps" />
</fileset>
<zipfileset file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.debugger-test.build.dev.build/com.mbeddr.debugger-test.build.dev.build.msd" prefix="module" />
<zipfileset dir="${build.tmp}/customProcessors/copyModels/solutions-com.mbeddr.debugger-test.build.dev.build-models" prefix="module/models" />
</jar>
<mkdir dir="${build.tmp}/default/com.mbeddr.core.tests.build.jar" />
<mkdir dir="${build.tmp}/default/com.mbeddr.core.tests.build.jar/META-INF" />
<echoxml file="${build.tmp}/default/com.mbeddr.core.tests.build.jar/META-INF/module.xml">
Expand Down Expand Up @@ -335,46 +294,6 @@
<zipfileset file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.performance.build/com.mbeddr.core.tests.performance.build.msd" prefix="module" />
<zipfileset dir="${build.tmp}/customProcessors/copyModels/solutions-com.mbeddr.core.tests.performance.build-models" prefix="module/models" />
</jar>
<mkdir dir="${build.tmp}/default/com.mbeddr.debugger.tests.dev.build.jar" />
<mkdir dir="${build.tmp}/default/com.mbeddr.debugger.tests.dev.build.jar/META-INF" />
<echoxml file="${build.tmp}/default/com.mbeddr.debugger.tests.dev.build.jar/META-INF/module.xml">
<module namespace="com.mbeddr.debugger.tests.dev.build" type="solution" uuid="2098f9e9-7b8d-4ee4-8e3f-46840f7fc3dd">
<dependencies>
<module ref="7ac0dfb8-7d5f-4573-ab80-81af2106ce03(com.mbeddr.build)" kind="cl" />
<module ref="3ae9cfda-f938-4524-b4ca-fbcba3b0525b(com.mbeddr.platform)" kind="cl" />
<module ref="f1fb7b1c-ce0d-423c-9369-4a661d600029(de.itemis.mps.extensions.build)" kind="cl" />
<module ref="422c2909-59d6-41a9-b318-40e6256b250f(jetbrains.mps.ide.build)" kind="cl" />
</dependencies>
<uses>
<language id="l:798100da-4f0a-421a-b991-71f8c50ce5d2:jetbrains.mps.build" />
<language id="l:0cf935df-4699-4e9c-a132-fa109541cba3:jetbrains.mps.build.mps" />
<language id="l:3600cb0a-44dd-4a5b-9968-22924406419e:jetbrains.mps.build.mps.tests" />
</uses>
<classpath>
<entry path="." />
</classpath>
<sources jar="com.mbeddr.debugger.tests.dev.build-src.jar" descriptor="com.mbeddr.debugger.tests.dev.build.msd" />
</module>
</echoxml>
<jar destfile="${build.layout}/mbeddr.allScripts/languages/com.mbeddr.tests/com.mbeddr.debugger.tests.dev.build.jar" duplicate="preserve">
<fileset dir="${build.tmp}/java/out/com.mbeddr.debugger.tests.dev.build" />
<fileset dir="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.debugger.tests.dev.build" includes="icons/**, resources/**" />
<fileset dir="${mbeddr.build}/solutions/com.mbeddr.debugger.tests.dev.build/source_gen" includes="**/trace.info, **/exports, **/*.mps, **/checkpoints" />
<fileset dir="${build.tmp}/default/com.mbeddr.debugger.tests.dev.build.jar" />
</jar>
<copyModels todir="${build.tmp}/customProcessors/copyModels/solutions-com.mbeddr.debugger.tests.dev.build-models">
<fileset dir="${mbeddr.build}/solutions/com.mbeddr.debugger.tests.dev.build/models" includes="**/*.mps, **/*.mpsr, **/.model" />
</copyModels>
<jar destfile="${build.layout}/mbeddr.allScripts/languages/com.mbeddr.tests/com.mbeddr.debugger.tests.dev.build-src.jar" duplicate="preserve">
<fileset dir="${mbeddr.build}/solutions/com.mbeddr.debugger.tests.dev.build/source_gen">
<exclude name="**/trace.info" />
<exclude name="**/exports" />
<exclude name="**/checkpoints" />
<exclude name="**/*.mps" />
</fileset>
<zipfileset file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.debugger.tests.dev.build/com.mbeddr.debugger.tests.dev.build.msd" prefix="module" />
<zipfileset dir="${build.tmp}/customProcessors/copyModels/solutions-com.mbeddr.debugger.tests.dev.build-models" prefix="module/models" />
</jar>
<mkdir dir="${build.tmp}/default/com.mbeddr.cc.tests.dev.build.jar" />
<mkdir dir="${build.tmp}/default/com.mbeddr.cc.tests.dev.build.jar/META-INF" />
<echoxml file="${build.tmp}/default/com.mbeddr.cc.tests.dev.build.jar/META-INF/module.xml">
Expand Down Expand Up @@ -722,7 +641,7 @@
<delete dir="${build.layout}" />
</target>

<target name="compileJava" depends="java.compile.com.mbeddr.allScripts, java.compile.com.mbeddr.debugger.testing.build.dev.build, java.compile.com.mbeddr.core.tests.build, java.compile.com.mbeddr.core.tests.performance.build, java.compile.com.mbeddr.debugger.tests.dev.build, java.compile.com.mbeddr.cc.tests.dev.build, java.compile.com.mbeddr.ext.tests.build, java.compile.com.mbeddr.analyses.tests.dev.build, java.compile.com.mbeddr.tutorial.dev.build, java.compile.com.mbeddr.allInOne, java.compile.com.mbeddr.platform, java.compile.com.mbeddr.rcp, java.compile.com.mbeddr.build, java.compile.com.mbeddr.xmodel.build" />
<target name="compileJava" depends="java.compile.com.mbeddr.allScripts, java.compile.com.mbeddr.core.tests.build, java.compile.com.mbeddr.core.tests.performance.build, java.compile.com.mbeddr.cc.tests.dev.build, java.compile.com.mbeddr.ext.tests.build, java.compile.com.mbeddr.analyses.tests.dev.build, java.compile.com.mbeddr.tutorial.dev.build, java.compile.com.mbeddr.allInOne, java.compile.com.mbeddr.platform, java.compile.com.mbeddr.rcp, java.compile.com.mbeddr.build, java.compile.com.mbeddr.xmodel.build" />

<target name="processResources" />

Expand Down Expand Up @@ -845,8 +764,6 @@
<module file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.cc.tests.dev.build/com.mbeddr.cc.tests.dev.build.msd" />
<module file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.build/com.mbeddr.core.tests.build.msd" />
<module file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.core.tests.performance.build/com.mbeddr.core.tests.performance.build.msd" />
<module file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.debugger-test.build.dev.build/com.mbeddr.debugger-test.build.dev.build.msd" />
<module file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.debugger.tests.dev.build/com.mbeddr.debugger.tests.dev.build.msd" />
<module file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.ext.build/build.msd" />
<module file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/com.mbeddr.platform.msd" />
<module file="${mbeddr.github.core.home}/code/languages/com.mbeddr.build/solutions/com.mbeddr.rcp/com.mbeddr.rcp.msd" />
Expand Down Expand Up @@ -901,28 +818,6 @@
</copy>
</target>

<target name="java.compile.com.mbeddr.debugger.testing.build.dev.build" depends="java.compile.com.mbeddr.build, java.compile.com.mbeddr.debugger.tests.dev.build, java.compile.com.mbeddr.platform">
<mkdir dir="${mbeddr.build}/solutions/com.mbeddr.debugger-test.build.dev.build/source_gen" />
<mkdir dir="${build.tmp}/java/out/com.mbeddr.debugger.testing.build.dev.build" />
<javac destdir="${build.tmp}/java/out/com.mbeddr.debugger.testing.build.dev.build" fork="false" encoding="utf8" includeantruntime="false" debug="true" source="1.8" target="1.8">
<compilerarg value="-Xlint:none" />
<src>
<path location="${mbeddr.build}/solutions/com.mbeddr.debugger-test.build.dev.build/source_gen" />
</src>
<classpath>
<pathelement path="${build.tmp}/java/out/com.mbeddr.build" />
<pathelement path="${build.tmp}/java/out/com.mbeddr.debugger.tests.dev.build" />
<pathelement path="${build.tmp}/java/out/com.mbeddr.platform" />
<fileset file="${artifacts.de.itemis.mps.extensions}/de.itemis.mps.extensions.build/languages/de.itemis.mps.extensions.build/de.itemis.mps.extensions.build.jar" />
</classpath>
</javac>
<copy todir="${build.tmp}/java/out/com.mbeddr.debugger.testing.build.dev.build">
<fileset dir="${mbeddr.build}/solutions/com.mbeddr.debugger-test.build.dev.build/source_gen">
<include name="**/*.info" />
</fileset>
</copy>
</target>

<target name="java.compile.com.mbeddr.core.tests.build" depends="java.compile.com.mbeddr.build, java.compile.com.mbeddr.platform">
<mkdir dir="${mbeddr.build}/solutions/com.mbeddr.core.tests.build/source_gen" />
<mkdir dir="${build.tmp}/java/out/com.mbeddr.core.tests.build" />
Expand Down Expand Up @@ -965,27 +860,6 @@
</copy>
</target>

<target name="java.compile.com.mbeddr.debugger.tests.dev.build" depends="java.compile.com.mbeddr.build, java.compile.com.mbeddr.platform">
<mkdir dir="${mbeddr.build}/solutions/com.mbeddr.debugger.tests.dev.build/source_gen" />
<mkdir dir="${build.tmp}/java/out/com.mbeddr.debugger.tests.dev.build" />
<javac destdir="${build.tmp}/java/out/com.mbeddr.debugger.tests.dev.build" fork="false" encoding="utf8" includeantruntime="false" debug="true" source="1.8" target="1.8">
<compilerarg value="-Xlint:none" />
<src>
<path location="${mbeddr.build}/solutions/com.mbeddr.debugger.tests.dev.build/source_gen" />
</src>
<classpath>
<pathelement path="${build.tmp}/java/out/com.mbeddr.build" />
<pathelement path="${build.tmp}/java/out/com.mbeddr.platform" />
<fileset file="${artifacts.de.itemis.mps.extensions}/de.itemis.mps.extensions.build/languages/de.itemis.mps.extensions.build/de.itemis.mps.extensions.build.jar" />
</classpath>
</javac>
<copy todir="${build.tmp}/java/out/com.mbeddr.debugger.tests.dev.build">
<fileset dir="${mbeddr.build}/solutions/com.mbeddr.debugger.tests.dev.build/source_gen">
<include name="**/*.info" />
</fileset>
</copy>
</target>

<target name="java.compile.com.mbeddr.cc.tests.dev.build" depends="java.compile.com.mbeddr.build, java.compile.com.mbeddr.platform">
<mkdir dir="${mbeddr.build}/solutions/com.mbeddr.cc.tests.dev.build/source_gen" />
<mkdir dir="${build.tmp}/java/out/com.mbeddr.cc.tests.dev.build" />
Expand Down Expand Up @@ -1180,8 +1054,6 @@
<delete dir="${mbeddr.build}/solutions/com.mbeddr.cc.tests.dev.build/source_gen" />
<delete dir="${mbeddr.build}/solutions/com.mbeddr.core.tests.build/source_gen" />
<delete dir="${mbeddr.build}/solutions/com.mbeddr.core.tests.performance.build/source_gen" />
<delete dir="${mbeddr.build}/solutions/com.mbeddr.debugger-test.build.dev.build/source_gen" />
<delete dir="${mbeddr.build}/solutions/com.mbeddr.debugger.tests.dev.build/source_gen" />
<delete dir="${mbeddr.build}/solutions/com.mbeddr.ext.build/source_gen" />
<delete dir="${mbeddr.build}/solutions/com.mbeddr.platform/source_gen" />
<delete dir="${mbeddr.build}/solutions/com.mbeddr.rcp/source_gen" />
Expand Down
28 changes: 2 additions & 26 deletions build/com.mbeddr/languages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,11 @@ task resolve_mbeddr_platform() {
}
}



//move spawner into mbeddr script
task build_spawner(type: BuildLanguages, dependsOn: ':build:com.mbeddr:platform:copy_allScripts') {
script scriptFile('com.mbeddr.build/spawner.xml')
}

task copy_spawner(type: Copy, dependsOn: build_spawner) {
from "$rootDir/artifacts/spawner/"
into "$mpsHomeDir/plugins"
}

task copy_logConfig(type: Copy, dependsOn: ':build:com.mbeddr:platform:copy_allScripts') {
from "$rootDir/debug"
into "$mpsHomeDir/bin"
}

task install_spawner(type: Copy, dependsOn: build_spawner) {
from "$rootDir/artifacts/spawner/"
include "mbeddr.spawner/"
into "$mpsPluginsDir"
}
tasks.getByPath(':build:com.mbeddr:install').dependsOn install_spawner

ant.taskdef(name: 'junit', classname: 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTask',
classpath: configurations.junitAnt.asPath)
ant.taskdef(name: 'junitreport', classname: 'org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator',
Expand All @@ -75,9 +56,9 @@ def usePrebuiltPlatform = ciBuild && !project.hasProperty('forceBuildPlatform')

//on teamcity we don't build the platform we take it from the nexus. Locally we want to build it
if (usePrebuiltPlatform) {
mbeddrDependencies = [copy_spawner, resolve_mbeddr_platform]
mbeddrDependencies = [resolve_mbeddr_platform]
} else {
mbeddrDependencies = [copy_spawner, ':build:com.mbeddr:platform:build_platform']
mbeddrDependencies = [':build:com.mbeddr:platform:build_platform']
}

task build_mbeddr(type: BuildLanguages, dependsOn: mbeddrDependencies) {
Expand All @@ -88,7 +69,6 @@ task build_mbeddr(type: BuildLanguages, dependsOn: mbeddrDependencies) {
def script_test_mbeddrTutorial = new File(scriptsBasePath + "/com.mbeddr.tutorial/" + "build-tests.xml")

def script_test_mbeddrPerformance = new File(scriptsBasePath + "/com.mbeddr.core/" + "build-performance-tests.xml")
def script_test_mbeddrDebugger = new File(scriptsBasePath + "/com.mbeddr.debugger/" + "build-tests.xml")
def script_test_mbeddrCoreEx = new File(scriptsBasePath + "/com.mbeddr.core/" + "build-ex-tests.xml")
def script_test_mbeddrCoreExLibrary = new File(scriptsBasePath + "/com.mbeddr.core/" + "build-aLibrary.xml")
def script_test_mbeddrCoreTs = new File(scriptsBasePath + "/com.mbeddr.core/" + "build-ts-tests.xml")
Expand Down Expand Up @@ -123,10 +103,6 @@ task test_mbeddr_performance(type: TestLanguages, dependsOn: build_mbeddr) {
script script_test_mbeddrPerformance
}

task test_mbeddr_debugger(type: TestLanguages, dependsOn: build_mbeddr) {
script script_test_mbeddrDebugger
}

task build_mbeddr_core_ex(type: BuildLanguages, dependsOn: [build_mbeddr, copy_logConfig]) {
script script_test_mbeddrCoreEx
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<languageVersions>
<language slang="l:d4280a54-f6df-4383-aa41-d1b2bffa7eb1:com.mbeddr.core.base" version="6" />
<language slang="l:2d7fadf5-33f6-4e80-a78f-0f739add2bde:com.mbeddr.core.buildconfig" version="10" />
<language slang="l:223dd778-c44f-4ef3-9535-7aa7d12244a6:com.mbeddr.core.debug" version="0" />
<language slang="l:61c69711-ed61-4850-81d9-7714ff227fb0:com.mbeddr.core.expressions" version="5" />
<language slang="l:f93d1dbe-bfd1-42dd-932a-f375fa6f5373:com.mbeddr.core.make" version="9" />
<language slang="l:6d11763d-483d-4b2b-8efc-09336c1b0001:com.mbeddr.core.modules" version="5" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<sourcePath />
<languageVersions>
<language slang="l:d4280a54-f6df-4383-aa41-d1b2bffa7eb1:com.mbeddr.core.base" version="6" />
<language slang="l:223dd778-c44f-4ef3-9535-7aa7d12244a6:com.mbeddr.core.debug" version="0" />
<language slang="l:61c69711-ed61-4850-81d9-7714ff227fb0:com.mbeddr.core.expressions" version="5" />
<language slang="l:63e0e566-5131-447e-90e3-12ea330e1a00:com.mbeddr.mpsutil.blutil" version="3" />
<language slang="l:d3a0fd26-445a-466c-900e-10444ddfed52:com.mbeddr.mpsutil.filepicker" version="0" />
Expand Down
2 changes: 0 additions & 2 deletions code/applications/HeartBleed/solutions/NewSolution.msd
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<language slang="l:2d7fadf5-33f6-4e80-a78f-0f739add2bde:com.mbeddr.core.buildconfig" version="10" />
<language slang="l:b2da2e1a-b542-47f5-9be0-4dc21efe74a4:com.mbeddr.core.checks" version="0" />
<language slang="l:390de4af-0c8d-4716-8dec-3d05ca751b28:com.mbeddr.core.cinterpreter" version="0" />
<language slang="l:223dd778-c44f-4ef3-9535-7aa7d12244a6:com.mbeddr.core.debug" version="0" />
<language slang="l:ebb5e132-d298-4649-b320-b3f4d7f3acff:com.mbeddr.core.debug.blext" version="0" />
<language slang="l:783af01f-87a7-412c-be99-293a162652b5:com.mbeddr.core.embedded" version="1" />
<language slang="l:61c69711-ed61-4850-81d9-7714ff227fb0:com.mbeddr.core.expressions" version="5" />
<language slang="l:ad5e9db1-9600-47c7-86ef-614165b281b8:com.mbeddr.core.legacy" version="0" />
Expand Down
Loading

0 comments on commit 05c213b

Please sign in to comment.