Skip to content

Commit

Permalink
Merge pull request #91 from mbeddr/feature/tree_map_for_goal_structures
Browse files Browse the repository at this point in the history
feature/tree map for goal structures
  • Loading branch information
danielratiu authored Jul 4, 2024
2 parents 438cd3f + 672850b commit 76ef124
Show file tree
Hide file tree
Showing 23 changed files with 17,228 additions and 12,290 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,12 @@ if (projectToCheck != null) {
}
}

File("$buildDir/dependencies/org.mpsqa.allInOne").listFiles().forEach {
if (it.isDirectory) {
result.add(Plugin(it.name, it.absolutePath))
}
}

File("$buildDir/artifacts/com.mbeddr.formal.languages").listFiles().forEach {
if (it.isDirectory) {
result.add(Plugin(it.name, it.absolutePath))
Expand Down
12 changes: 9 additions & 3 deletions build/scripts/build_all_scripts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<property name="mbeddr.formal.safety.code" location="${mbeddr.formal.home}/code/languages/com.mbeddr.formal.safety" />
<property name="dependencies.root" location="${mbeddr.formal.home}/build/dependencies" />
<property name="dependencies.mbeddr.platform" location="${dependencies.root}/com.mbeddr.platform" />
<property name="dependencies.mpsqa" location="${mbeddr.formal.home}/build/dependencies/org.mpsqa.allInOne" />
<property name="artifacts.mps" location="${mps.home}" />
<property name="artifacts.org.mpsqa.base" location="${dependencies.mpsqa}" />
<property name="artifacts.com.mbeddr.platform" location="${dependencies.mbeddr.platform}" />
<property file="${artifacts.mps}/build.properties" prefix="import.mps" />
<property file="${artifacts.com.mbeddr.platform}/build.properties" prefix="import.com.mbeddr.platform" />
Expand Down Expand Up @@ -57,6 +59,7 @@
<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" />
<module ref="5e8cea6b-997f-49b1-a8d8-dc2a7a6fa657(org.mpsqa.base.build)" kind="cl" />
</dependencies>
<uses>
<language id="l:798100da-4f0a-421a-b991-71f8c50ce5d2:jetbrains.mps.build" />
Expand Down Expand Up @@ -93,10 +96,10 @@
<echoxml file="${build.tmp}/default/com.fasten.assurance.build.jar/META-INF/module.xml">
<module namespace="com.fasten.assurance.build" type="solution" uuid="7301161d-854c-45d9-b0d7-121b4fb52625">
<dependencies>
<module ref="b4bbc0a5-248e-4db2-9ddc-4901a463c66c(com.mbeddr.formal.safety.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" />
<module ref="5e8cea6b-997f-49b1-a8d8-dc2a7a6fa657(org.mpsqa.base.build)" kind="cl" />
</dependencies>
<uses>
<language id="l:798100da-4f0a-421a-b991-71f8c50ce5d2:jetbrains.mps.build" />
Expand Down Expand Up @@ -159,6 +162,7 @@
<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" />
<plugin path="${artifacts.org.mpsqa.base}/org.mpsqa.base.build" />
<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 @@ -261,6 +265,7 @@
<macro name="mbeddr.formal.safety.code" path="${mbeddr.formal.safety.code}" />
<macro name="dependencies.root" path="${dependencies.root}" />
<macro name="dependencies.mbeddr.platform" path="${dependencies.mbeddr.platform}" />
<macro name="dependencies.mpsqa" path="${dependencies.mpsqa}" />
</generate>
</target>

Expand All @@ -279,11 +284,12 @@
<classpath>
<fileset file="${artifacts.com.mbeddr.platform}/com.mbeddr.platform.jar" />
<fileset file="${artifacts.com.mbeddr.platform}/de.itemis.mps.extensions.build/languages/de.itemis.mps.extensions.build/de.itemis.mps.extensions.build.jar" />
<fileset file="${artifacts.org.mpsqa.base}/org.mpsqa.base.build/languages/build/org.mpsqa.base.build.jar" />
</classpath>
</javac>
</target>

<target name="java.compile.com.fasten.assurance.build" depends="java.compile.com.mbeddr.formal.safety.build">
<target name="java.compile.com.fasten.assurance.build">
<mkdir dir="${mbeddr.formal.safety.code}/solutions/com.fasten.assurance.build/source_gen" />
<mkdir dir="${build.tmp}/java/out/com.fasten.assurance.build" />
<javac destdir="${build.tmp}/java/out/com.fasten.assurance.build" fork="true" encoding="utf8" includeantruntime="false" debug="true">
Expand All @@ -292,9 +298,9 @@
<path location="${mbeddr.formal.safety.code}/solutions/com.fasten.assurance.build/source_gen" />
</src>
<classpath>
<pathelement path="${build.tmp}/java/out/com.mbeddr.formal.safety.build" />
<fileset file="${artifacts.com.mbeddr.platform}/com.mbeddr.platform.jar" />
<fileset file="${artifacts.com.mbeddr.platform}/de.itemis.mps.extensions.build/languages/de.itemis.mps.extensions.build/de.itemis.mps.extensions.build.jar" />
<fileset file="${artifacts.org.mpsqa.base}/org.mpsqa.base.build/languages/build/org.mpsqa.base.build.jar" />
</classpath>
</javac>
</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<component name="MPSProject">
<projectModules>
<modulePath path="$PROJECT_DIR$/solutions/com.fasten.meta.all/com.fasten.meta.all.msd" folder="" />
<modulePath path="$PROJECT_DIR$/solutions/com.fasten.meta.architecture/com.fasten.meta.architecture.msd" folder="" />
<modulePath path="$PROJECT_DIR$/solutions/com.fasten.meta.linters/com.fasten.meta.linters.msd" folder="" />
</projectModules>
</component>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<solution name="com.fasten.meta.architecture" uuid="5a1aebc6-3f80-4098-a908-ee9255db7625" moduleVersion="0" compileInMPS="true">
<models>
<modelRoot contentPath="${module}" type="default">
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<sourcePath />
<languageVersions>
<language slang="l:ceab5195-25ea-4f22-9b92-103b95ca8c0c:jetbrains.mps.lang.core" version="2" />
<language slang="l:6c101563-ba1f-458d-b298-a75634941e0c:org.mpsqa.arch" version="0" />
</languageVersions>
<dependencyVersions>
<module reference="5a1aebc6-3f80-4098-a908-ee9255db7625(com.fasten.meta.architecture)" version="0" />
</dependencyVersions>
</solution>

Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
<?xml version="1.0" encoding="UTF-8"?>
<model ref="r:2fd514e9-539b-4e79-8d57-5a3a6d75a5f6(com.fasten.meta.architecture.architecture)">
<persistence version="9" />
<languages>
<use id="6c101563-ba1f-458d-b298-a75634941e0c" name="org.mpsqa.arch" version="0" />
<use id="446c26eb-2b7b-4bf0-9b35-f83fa582753e" name="jetbrains.mps.lang.modelapi" version="0" />
</languages>
<imports />
<registry>
<language id="6c101563-ba1f-458d-b298-a75634941e0c" name="org.mpsqa.arch">
<concept id="7834852478394622225" name="org.mpsqa.arch.structure.ModuleComponent" flags="ng" index="mXxR0">
<property id="276423752594287931" name="shortName" index="Z2I3b" />
<child id="7834852478394622226" name="module" index="mXxR3" />
</concept>
<concept id="7834852478394604726" name="org.mpsqa.arch.structure.ComponentDependency" flags="ng" index="mXA1B">
<child id="7834852478394761713" name="dependsOn" index="mXvOw" />
</concept>
<concept id="7834852478394603541" name="org.mpsqa.arch.structure.SingleComponentDependency" flags="ng" index="mXAj4">
<reference id="7834852478394603542" name="component" index="mXAj7" />
</concept>
<concept id="7834852478394603495" name="org.mpsqa.arch.structure.ComponentDefinition" flags="ng" index="mXAGQ">
<child id="7834852478394603641" name="content" index="mXAiC" />
</concept>
<concept id="7834852478394603494" name="org.mpsqa.arch.structure.ArchSpecification" flags="ng" index="mXAGR">
<child id="7834852478394603499" name="content" index="mXAGU" />
</concept>
<concept id="276423752595634026" name="org.mpsqa.arch.structure.EmptyLine" flags="ng" index="Z9REq" />
</language>
<language id="446c26eb-2b7b-4bf0-9b35-f83fa582753e" name="jetbrains.mps.lang.modelapi">
<concept id="361130699826193249" name="jetbrains.mps.lang.modelapi.structure.ModulePointer" flags="ng" index="1dCxOk">
<property id="1863527487546097500" name="moduleId" index="1XweGW" />
<property id="1863527487545993577" name="moduleName" index="1XxBO9" />
</concept>
</language>
<language id="7866978e-a0f0-4cc7-81bc-4d213d9375e1" name="jetbrains.mps.lang.smodel">
<concept id="1678062499342629858" name="jetbrains.mps.lang.smodel.structure.ModuleRefExpression" flags="ng" index="37shsh">
<child id="1678062499342629861" name="moduleId" index="37shsm" />
</concept>
</language>
<language id="ceab5195-25ea-4f22-9b92-103b95ca8c0c" name="jetbrains.mps.lang.core">
<concept id="1169194658468" name="jetbrains.mps.lang.core.structure.INamedConcept" flags="ng" index="TrEIO">
<property id="1169194664001" name="name" index="TrG5h" />
</concept>
</language>
</registry>
<node concept="mXAGR" id="41Pak$lD7us">
<property role="TrG5h" value="fasten_safety_architecture" />
<node concept="mXAGQ" id="41Pak$lD7uD" role="mXAGU">
<property role="TrG5h" value="assurance" />
<node concept="mXAGQ" id="41Pak$lHijS" role="mXAiC">
<property role="TrG5h" value="assurance_base_lancomp" />
<node concept="Z9REq" id="41Pak$lH_k4" role="mXAiC" />
<node concept="mXAGQ" id="41Pak$lH_kn" role="mXAiC">
<property role="TrG5h" value="assurance_base_gsn_lancomp" />
<node concept="mXxR0" id="41Pak$lDfUp" role="mXAiC">
<property role="Z2I3b" value="gsn" />
<node concept="37shsh" id="4rmIzFjfUJd" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lHaVS" role="37shsm">
<property role="1XweGW" value="e8a04d94-4307-4f88-95a2-25f7c4f39437" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn" />
</node>
</node>
</node>
<node concept="mXxR0" id="41Pak$lHilV" role="mXAiC">
<property role="Z2I3b" value="gsn_ext" />
<node concept="37shsh" id="41Pak$lHilW" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lHr1B" role="37shsm">
<property role="1XweGW" value="6464626a-ab04-4051-908e-5e8dc75acd78" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.ext" />
</node>
</node>
</node>
<node concept="mXxR0" id="41Pak$lH_md" role="mXAiC">
<property role="Z2I3b" value="gsn_external_evidence" />
<node concept="37shsh" id="41Pak$lH_me" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lH_nd" role="37shsm">
<property role="1XweGW" value="5e7ffa70-8e23-49f4-8c13-a887bba14c36" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.external_evidence" />
</node>
</node>
</node>
<node concept="Z9REq" id="41Pak$lHH$7" role="mXAiC" />
<node concept="mXxR0" id="41Pak$lHHzy" role="mXAiC">
<property role="Z2I3b" value="gsn.pluginSolution" />
<node concept="37shsh" id="41Pak$lHHzJ" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lHHzQ" role="37shsm">
<property role="1XweGW" value="51fb6274-410b-4585-802e-ffc783ce3996" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.pluginSolution" />
</node>
</node>
</node>
</node>
<node concept="Z9REq" id="41Pak$lH_mM" role="mXAiC" />
<node concept="mXAGQ" id="41Pak$lH_l2" role="mXAiC">
<property role="TrG5h" value="assurance_base_cae_lancomp" />
<node concept="mXA1B" id="41Pak$lH_lx" role="mXAiC">
<node concept="mXAj4" id="41Pak$lH_lB" role="mXvOw">
<ref role="mXAj7" node="41Pak$lH_kn" resolve="assurance_base_gsn_lancomp" />
</node>
</node>
<node concept="mXxR0" id="41Pak$lH_le" role="mXAiC">
<property role="Z2I3b" value="cae" />
<node concept="37shsh" id="41Pak$lH_lg" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lH_ln" role="37shsm">
<property role="1XweGW" value="eb32334c-372a-488f-ba9b-e549a59115e9" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.cae" />
</node>
</node>
</node>
<node concept="mXxR0" id="41Pak$lH_lK" role="mXAiC">
<property role="Z2I3b" value="cae_ext" />
<node concept="37shsh" id="41Pak$lH_lL" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lH_m7" role="37shsm">
<property role="1XweGW" value="d8195c35-9fa4-406e-b16a-8f62c605380b" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.cae.ext" />
</node>
</node>
</node>
<node concept="mXxR0" id="41Pak$lH_pl" role="mXAiC">
<property role="Z2I3b" value="cae_external_evidence" />
<node concept="37shsh" id="41Pak$lH_pm" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lH_pB" role="37shsm">
<property role="1XweGW" value="402c6c59-bdb3-47fc-8dfa-74ab35e75274" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.cae.external_evidence" />
</node>
</node>
</node>
</node>
<node concept="Z9REq" id="41Pak$lH_zv" role="mXAiC" />
<node concept="mXAGQ" id="41Pak$lH_$k" role="mXAiC">
<property role="TrG5h" value="assurance_base_doc" />
<node concept="mXA1B" id="41Pak$lH__3" role="mXAiC">
<node concept="mXAj4" id="41Pak$lH__9" role="mXvOw">
<ref role="mXAj7" node="41Pak$lH_kn" resolve="assurance_base_gsn_lancomp" />
</node>
</node>
<node concept="mXxR0" id="41Pak$lH_$K" role="mXAiC">
<property role="Z2I3b" value="gsn.doc" />
<node concept="37shsh" id="41Pak$lH_$M" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lH_$T" role="37shsm">
<property role="1XweGW" value="42606624-2faa-4717-ba66-77021cc11b53" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.doc" />
</node>
</node>
</node>
<node concept="mXxR0" id="41Pak$lHHAX" role="mXAiC">
<property role="Z2I3b" value="gsn.pdfexport" />
<node concept="37shsh" id="41Pak$lHHAY" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lHHBb" role="37shsm">
<property role="1XweGW" value="73a95f17-cede-4922-8013-3fd0d236439a" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.pdfexport" />
</node>
</node>
</node>
</node>
<node concept="Z9REq" id="41Pak$lHH$l" role="mXAiC" />
<node concept="mXAGQ" id="41Pak$lHH_w" role="mXAiC">
<property role="TrG5h" value="assurance_base_importer_exporter" />
<node concept="mXA1B" id="41Pak$lHHA7" role="mXAiC">
<node concept="mXAj4" id="41Pak$lHHA9" role="mXvOw">
<ref role="mXAj7" node="41Pak$lH_kn" resolve="assurance_base_gsn_lancomp" />
</node>
</node>
<node concept="mXxR0" id="41Pak$lHHAf" role="mXAiC">
<property role="Z2I3b" value="gsn.importer" />
<node concept="37shsh" id="41Pak$lHHAk" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lHHAr" role="37shsm">
<property role="1XweGW" value="a7775cc7-19db-41cf-a724-3212ac4437b9" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.importer" />
</node>
</node>
</node>
<node concept="mXxR0" id="41Pak$lHHAw" role="mXAiC">
<property role="Z2I3b" value="gsn.xml_gen" />
<node concept="37shsh" id="41Pak$lHHAx" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lHHAI" role="37shsm">
<property role="1XweGW" value="ca32bc98-ea47-4b42-82e1-76bebf8a4e7d" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.xml_gen" />
</node>
</node>
</node>
<node concept="Z9REq" id="41Pak$lHHAN" role="mXAiC" />
</node>
</node>
<node concept="Z9REq" id="41Pak$lH_vy" role="mXAiC" />
<node concept="mXAGQ" id="41Pak$lH_wH" role="mXAiC">
<property role="TrG5h" value="assurance_confidence_lancomp" />
<node concept="mXA1B" id="41Pak$lH_zk" role="mXAiC">
<node concept="mXAj4" id="41Pak$lH_zt" role="mXvOw">
<ref role="mXAj7" node="41Pak$lH_kn" resolve="assurance_base_gsn_lancomp" />
</node>
</node>
<node concept="mXxR0" id="41Pak$lH_qg" role="mXAiC">
<property role="Z2I3b" value="gsn.confidence.acp" />
<node concept="37shsh" id="41Pak$lH_qh" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lH_yz" role="37shsm">
<property role="1XweGW" value="00a2e56d-f195-410b-8afe-5a3c7e505658" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.confidence.acp" />
</node>
</node>
</node>
<node concept="mXxR0" id="41Pak$lH_yC" role="mXAiC">
<property role="Z2I3b" value="gsn.confidence.dempster_shafer" />
<node concept="37shsh" id="41Pak$lH_yD" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lH_yO" role="37shsm">
<property role="1XweGW" value="d2864642-8e1f-4dd8-b3a6-71f0d9d33ae8" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.gsn.confidence.dempster_shafer" />
</node>
</node>
</node>
</node>
<node concept="Z9REq" id="41Pak$lHHEz" role="mXAiC" />
<node concept="mXAGQ" id="41Pak$lHHDd" role="mXAiC">
<property role="TrG5h" value="assurance_modelquery_lancomp" />
<node concept="mXA1B" id="41Pak$lHHDe" role="mXAiC">
<node concept="mXAj4" id="41Pak$lHHDf" role="mXvOw">
<ref role="mXAj7" node="41Pak$lH_kn" resolve="assurance_base_gsn_lancomp" />
</node>
</node>
<node concept="mXxR0" id="41Pak$lHHDg" role="mXAiC">
<property role="Z2I3b" value="argument.modelquery" />
<node concept="37shsh" id="41Pak$lHHDh" role="mXxR3">
<node concept="1dCxOk" id="41Pak$lHHFG" role="37shsm">
<property role="1XweGW" value="57ecebe4-dfb8-4fef-9175-0008e04a3684" />
<property role="1XxBO9" value="com.mbeddr.formal.safety.argument.modelquery" />
</node>
</node>
</node>
</node>
<node concept="Z9REq" id="41Pak$lHHBg" role="mXAiC" />
<node concept="Z9REq" id="41Pak$lHHCe" role="mXAiC" />
</node>
</node>
</model>

Loading

0 comments on commit 76ef124

Please sign in to comment.