From 4c492e19fbe8e95090c52a56d84a762d2e319e60 Mon Sep 17 00:00:00 2001 From: Mark Hoffmann Date: Fri, 2 Aug 2024 15:43:02 +0200 Subject: [PATCH] ADjusted modeling template - added genmodel annotaiton in sample ecore - added condition dependency to bnd.bnd in template Signed-off-by: Mark Hoffmann --- .../resources/templates/emf-model/bnd.bnd | 3 +++ .../templates/emf-model/model/{{EcoreFileName}}.ecore | 6 ++++++ .../templates/emf-model/model/{{EcoreFileName}}.genmodel | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/bnd.bnd b/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/bnd.bnd index 61dd1b7a..6cdc66dc 100644 --- a/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/bnd.bnd +++ b/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/bnd.bnd @@ -18,3 +18,6 @@ Bundle-Version: 1.0.0.SNAPSHOT +-buildpath: \ + org.osgi.service.condition;version=latest + diff --git a/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/model/{{EcoreFileName}}.ecore b/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/model/{{EcoreFileName}}.ecore index d9fb348b..4bd68eba 100644 --- a/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/model/{{EcoreFileName}}.ecore +++ b/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/model/{{EcoreFileName}}.ecore @@ -4,5 +4,11 @@
+ +
+
+
+
+ diff --git a/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/model/{{EcoreFileName}}.genmodel b/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/model/{{EcoreFileName}}.genmodel index 14ad291b..28276c10 100644 --- a/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/model/{{EcoreFileName}}.genmodel +++ b/org.gecko.emf.osgi.bnd.templates.project/resources/templates/emf-model/model/{{EcoreFileName}}.genmodel @@ -2,7 +2,7 @@ {{EcoreFileName}}.ecore