From 2a716e4edf716d59633d3b14f6e59c6213bdebff Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Thu, 7 Sep 2023 10:44:55 +0200 Subject: [PATCH 1/2] Add fixes for simulink --- .../.classpath | 6 + .../.project | 28 ++++ .../.classpath | 7 + .../.project | 28 ++++ .../META-INF/MANIFEST.MF | 6 +- .../model/simuLink.genmodel | 138 ----------------- .../model/{simuLink.ecore => simulink.ecore} | 0 .../model/simulink.genmodel | 140 ++++++++++++++++++ .../plugin.xml | 5 +- 9 files changed, 214 insertions(+), 144 deletions(-) create mode 100644 bundles/edu.kit.ipd.sdq.metamodels.autosar/.classpath create mode 100644 bundles/edu.kit.ipd.sdq.metamodels.autosar/.project create mode 100644 bundles/edu.kit.ipd.sdq.metamodels.simulink/.classpath create mode 100644 bundles/edu.kit.ipd.sdq.metamodels.simulink/.project delete mode 100755 bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simuLink.genmodel rename bundles/edu.kit.ipd.sdq.metamodels.simulink/model/{simuLink.ecore => simulink.ecore} (100%) mode change 100755 => 100644 create mode 100644 bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simulink.genmodel diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/.classpath b/bundles/edu.kit.ipd.sdq.metamodels.autosar/.classpath new file mode 100644 index 0000000..a9f4be7 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.autosar/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/.project b/bundles/edu.kit.ipd.sdq.metamodels.autosar/.project new file mode 100644 index 0000000..97c935a --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.autosar/.project @@ -0,0 +1,28 @@ + + + edu.kit.ipd.sdq.metamodels.autosar + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.simulink/.classpath b/bundles/edu.kit.ipd.sdq.metamodels.simulink/.classpath new file mode 100644 index 0000000..98640b3 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.simulink/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.simulink/.project b/bundles/edu.kit.ipd.sdq.metamodels.simulink/.project new file mode 100644 index 0000000..0a4a023 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.simulink/.project @@ -0,0 +1,28 @@ + + + edu.kit.ipd.sdq.metamodels.simulink + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.simulink/META-INF/MANIFEST.MF b/bundles/edu.kit.ipd.sdq.metamodels.simulink/META-INF/MANIFEST.MF index fb8baed..22ebd4b 100755 --- a/bundles/edu.kit.ipd.sdq.metamodels.simulink/META-INF/MANIFEST.MF +++ b/bundles/edu.kit.ipd.sdq.metamodels.simulink/META-INF/MANIFEST.MF @@ -8,9 +8,9 @@ Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-17 -Export-Package: simulink, - simulink.impl, - simulink.util +Export-Package: edu.kit.ipd.sdq.metamodels.simulink, + edu.kit.ipd.sdq.metamodels.simulink.impl, + edu.kit.ipd.sdq.metamodels.simulink.util Require-Bundle: org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.core.runtime Bundle-ActivationPolicy: lazy diff --git a/bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simuLink.genmodel b/bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simuLink.genmodel deleted file mode 100755 index b9b713f..0000000 --- a/bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simuLink.genmodel +++ /dev/null @@ -1,138 +0,0 @@ - - - simuLink.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simuLink.ecore b/bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simulink.ecore old mode 100755 new mode 100644 similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simuLink.ecore rename to bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simulink.ecore diff --git a/bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simulink.genmodel b/bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simulink.genmodel new file mode 100644 index 0000000..8c6452e --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.simulink/model/simulink.genmodel @@ -0,0 +1,140 @@ + + + simulink.ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.simulink/plugin.xml b/bundles/edu.kit.ipd.sdq.metamodels.simulink/plugin.xml index a101668..ebf1e44 100755 --- a/bundles/edu.kit.ipd.sdq.metamodels.simulink/plugin.xml +++ b/bundles/edu.kit.ipd.sdq.metamodels.simulink/plugin.xml @@ -8,12 +8,11 @@ + uri="edu.kit.ipd.sdq.metamodels.simulink" class="edu.kit.ipd.sdq.metamodels.simulink.SimuLinkPackage" - - genModel="model/simuLink.genmodel"/> + genModel="model/simulink.genmodel"/> From 31452c1abe1bb70d5c2d56a4d9d1c63c61eb629c Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Thu, 7 Sep 2023 10:49:13 +0200 Subject: [PATCH 2/2] Autosar fixes --- .../.classpath | 1 + .../org.eclipse.core.resources.prefs | 2 + .../META-INF/MANIFEST.MF | 6 +-- .../model/autoSAR.genmodel | 49 ------------------- .../model/{autoSAR.ecore => autosar.ecore} | 0 .../model/autosar.genmodel | 49 +++++++++++++++++++ .../plugin.xml | 3 +- .../org.eclipse.core.resources.prefs | 2 + 8 files changed, 58 insertions(+), 54 deletions(-) create mode 100644 bundles/edu.kit.ipd.sdq.metamodels.autosar/.settings/org.eclipse.core.resources.prefs delete mode 100755 bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autoSAR.genmodel rename bundles/edu.kit.ipd.sdq.metamodels.autosar/model/{autoSAR.ecore => autosar.ecore} (100%) mode change 100755 => 100644 create mode 100644 bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autosar.genmodel create mode 100644 bundles/edu.kit.ipd.sdq.metamodels.simulink/.settings/org.eclipse.core.resources.prefs diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/.classpath b/bundles/edu.kit.ipd.sdq.metamodels.autosar/.classpath index a9f4be7..98640b3 100644 --- a/bundles/edu.kit.ipd.sdq.metamodels.autosar/.classpath +++ b/bundles/edu.kit.ipd.sdq.metamodels.autosar/.classpath @@ -1,5 +1,6 @@ + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/.settings/org.eclipse.core.resources.prefs b/bundles/edu.kit.ipd.sdq.metamodels.autosar/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.autosar/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/META-INF/MANIFEST.MF b/bundles/edu.kit.ipd.sdq.metamodels.autosar/META-INF/MANIFEST.MF index 6480698..68e4587 100755 --- a/bundles/edu.kit.ipd.sdq.metamodels.autosar/META-INF/MANIFEST.MF +++ b/bundles/edu.kit.ipd.sdq.metamodels.autosar/META-INF/MANIFEST.MF @@ -8,9 +8,9 @@ Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: JavaSE-17 -Export-Package: autosar, - autosar.impl, - autosar.util +Export-Package: edu.kit.ipd.sdq.metamodels.autosar, + edu.kit.ipd.sdq.metamodels.autosar.impl, + edu.kit.ipd.sdq.metamodels.autosar.util Require-Bundle: org.eclipse.emf.ecore;visibility:=reexport, org.eclipse.core.runtime Bundle-ActivationPolicy: lazy diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autoSAR.genmodel b/bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autoSAR.genmodel deleted file mode 100755 index 44ed62e..0000000 --- a/bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autoSAR.genmodel +++ /dev/null @@ -1,49 +0,0 @@ - - - autoSAR.ecore - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autoSAR.ecore b/bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autosar.ecore old mode 100755 new mode 100644 similarity index 100% rename from bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autoSAR.ecore rename to bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autosar.ecore diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autosar.genmodel b/bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autosar.genmodel new file mode 100644 index 0000000..c833e69 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.autosar/model/autosar.genmodel @@ -0,0 +1,49 @@ + + + autosar.ecore + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bundles/edu.kit.ipd.sdq.metamodels.autosar/plugin.xml b/bundles/edu.kit.ipd.sdq.metamodels.autosar/plugin.xml index 75dda08..246a354 100755 --- a/bundles/edu.kit.ipd.sdq.metamodels.autosar/plugin.xml +++ b/bundles/edu.kit.ipd.sdq.metamodels.autosar/plugin.xml @@ -11,8 +11,7 @@ + genModel="model/autosar.genmodel"/> diff --git a/bundles/edu.kit.ipd.sdq.metamodels.simulink/.settings/org.eclipse.core.resources.prefs b/bundles/edu.kit.ipd.sdq.metamodels.simulink/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/bundles/edu.kit.ipd.sdq.metamodels.simulink/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8