Skip to content

Commit

Permalink
ADjusted modeling template
Browse files Browse the repository at this point in the history
- added genmodel annotaiton in sample ecore
- added condition dependency to bnd.bnd in template

Signed-off-by: Mark Hoffmann <[email protected]>
  • Loading branch information
maho7791 committed Aug 2, 2024
1 parent 6ae48e0 commit 4c492e1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@

Bundle-Version: 1.0.0.SNAPSHOT

-buildpath: \
org.osgi.service.condition;version=latest

Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@
<eAnnotations source="Version">
<details key="value" value="1.0"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="complianceLevel" value="17.0"/>
<details key="oSGiCompatible" value="true"/>
<details key="basePackage" value="{{basePackageName}}"/>
<details key="resource" value="XMI"/>
</eAnnotations>
<eClassifiers xsi:type="ecore:EClass" name="Example"/>
</ecore:EPackage>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel"
modelDirectory="/{{projectName}}/src" modelPluginID="{{projectName}}"
modelName="{{EcoreFileName}}" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" suppressGenModelAnnotations="false"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="17.0" suppressGenModelAnnotations="false"
copyrightFields="false" operationReflection="true" importOrganizing="true" oSGiCompatible="true">
<foreignModel>{{EcoreFileName}}.ecore</foreignModel>
<genPackages prefix="{{GenModelPrefix}}" basePackage="{{basePackageName}}" resource="XMI"
Expand Down

0 comments on commit 4c492e1

Please sign in to comment.