Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2011-05-09 16:41:35 +0000
committerMartin Fluegge2011-05-09 16:41:35 +0000
commit218089a8e52aedaa9367b003370736a44b7be242 (patch)
tree9e03d334b7813b6cb43ffe7bdb1d4485b795814e /plugins/org.eclipse.emf.cdo.dawn.codegen/src
parent637bbeff72e4c82953be6bf019e14da6c95a2557 (diff)
downloadcdo-218089a8e52aedaa9367b003370736a44b7be242.tar.gz
cdo-218089a8e52aedaa9367b003370736a44b7be242.tar.xz
cdo-218089a8e52aedaa9367b003370736a44b7be242.zip
[344403] [Dawn] Separated Dawn Codegen from specific implementations
https://bugs.eclipse.org/bugs/show_bug.cgi?id=344403
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.codegen/src')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen/src/workflow/emfFragmentGenerator.oaw89
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen/src/workflow/gmfFragmentGenerator.oaw91
2 files changed, 0 insertions, 180 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/workflow/emfFragmentGenerator.oaw b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/workflow/emfFragmentGenerator.oaw
deleted file mode 100644
index 052ac10153..0000000000
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/workflow/emfFragmentGenerator.oaw
+++ /dev/null
@@ -1,89 +0,0 @@
-<?xml version="1.0"?>
-<!--
- Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html
-
- Contributors:
- Martin Fluegge - initial API and implementation
--->
-
-<workflow>
-
- <property name="model" value="file:/D:/Development/INSTANCES/Dawn_Instance1/org.eclipse.emf.cdo.dawn.examples.acore/model/acore.dawngenmodel" />
-
- <property name="src-gen" value="d:/temp/source" />
-
- <!-- set up EMF for standalone execution -->
- <bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" >
- <platformUri value=".."/>
- </bean>
-
- <!-- load model and store it in slot 'model' -->
- <component class="org.eclipse.emf.mwe.utils.Reader">
- <uri value="${model}" />
- <modelSlot value="model" />
- </component>
-
-
-
- <!-- check model -->
- <!--loads different metamodels-->
- <component class="org.eclipse.xtend.check.CheckComponent">
- <metaModel id="ecore" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.ecore.EcorePackage"/>
- </metaModel>
-
- <metaModel id="genmodel" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage"/>
- </metaModel>
-
- <metaModel id="dawngenmodel" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage"/>
- </metaModel>
-
- <metaModel id="mmGGr" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.gmf.gmfgraph.GMFGraphPackage"/>
- </metaModel>
-
- <metaModel id="mmGGen" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.gmf.codegen.gmfgen.GMFGenPackage"/>
- </metaModel>
- <checkFile value="metamodel::Checks" />
- <emfAllChildrenSlot value="model" />
- </component>
-
- <!-- generate code for the meta specified templates -->
- <component class="org.eclipse.xpand2.Generator">
-
- <metaModel id="ecore" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.ecore.EcorePackage"/>
- </metaModel>
-
- <metaModel id="genmodel" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage"/>
- </metaModel>
-
- <metaModel id="dawngenmodel" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage"/>
- </metaModel>
-
- <metaModel id="mmGGr" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.gmf.gmfgraph.GMFGraphPackage"/>
- </metaModel>
-
- <metaModel id="mmGGen" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.gmf.codegen.gmfgen.GMFGenPackage"/>
- </metaModel>
-
- <expand value="template::EMFFragmentTemplate::main FOR model" />
- <outlet path="${src-gen}" >
- <postprocessor class="org.eclipse.xpand2.output.JavaBeautifier" />
- </outlet>
-
- <!--<prSrcPaths value="${src-gen}"/>
- <prExcludes value=", *.xml, *.hbm"/>-->
- </component>
-</workflow>
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/workflow/gmfFragmentGenerator.oaw b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/workflow/gmfFragmentGenerator.oaw
deleted file mode 100644
index 8811b97158..0000000000
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/workflow/gmfFragmentGenerator.oaw
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0"?>
-<!--
- Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Eclipse Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html
-
- Contributors:
- Martin Fluegge - initial API and implementation
--->
-
-<workflow>
-
- <!--<property name="model" value="file:/D:/Development/CDO/org.eclipse.emf.cdo.dawn.examples.acore/model/classdiagram.gmfgen" />-->
- <property name="model" value="file:/D:/Development/INSTANCES/Dawn_Instance1/org.eclipse.emf.cdo.dawn.examples.acore/model/acore.dawngenmodel" />
-
- <property name="src-gen" value="d:/temp/source" />
- <!--<property name="src-gen" /> --> <!--just declare it to make it accessable -->
-
- <!-- set up EMF for standalone execution -->
- <bean class="org.eclipse.emf.mwe.utils.StandaloneSetup" >
- <platformUri value=".."/>
- </bean>
-
- <!-- load model and store it in slot 'model' -->
- <component class="org.eclipse.emf.mwe.utils.Reader">
- <uri value="${model}" />
- <modelSlot value="model" />
- </component>
-
-
-
- <!-- check model -->
- <!--loads different metamodels-->
- <component class="org.eclipse.xtend.check.CheckComponent">
- <metaModel id="ecore" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.ecore.EcorePackage"/>
- </metaModel>
-
- <metaModel id="genmodel" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage"/>
- </metaModel>
-
- <metaModel id="dawngenmodel" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage"/>
- </metaModel>
-
- <metaModel id="mmGGr" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.gmf.gmfgraph.GMFGraphPackage"/>
- </metaModel>
-
- <metaModel id="mmGGen" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.gmf.codegen.gmfgen.GMFGenPackage"/>
- </metaModel>
- <checkFile value="metamodel::Checks" />
- <emfAllChildrenSlot value="model" />
- </component>
-
- <!-- generate code for the meta specified templates -->
- <component class="org.eclipse.xpand2.Generator">
-
- <metaModel id="ecore" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.ecore.EcorePackage"/>
- </metaModel>
-
- <metaModel id="genmodel" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage"/>
- </metaModel>
-
- <metaModel id="dawngenmodel" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.DawngenmodelPackage"/>
- </metaModel>
-
- <metaModel id="mmGGr" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.gmf.gmfgraph.GMFGraphPackage"/>
- </metaModel>
-
- <metaModel id="mmGGen" class="org.eclipse.xtend.typesystem.emf.EmfMetaModel">
- <metaModelPackage value="org.eclipse.gmf.codegen.gmfgen.GMFGenPackage"/>
- </metaModel>
-
- <expand value="template::GMFFragmentTemplate::main FOR model" />
- <outlet path="${src-gen}" >
- <postprocessor class="org.eclipse.xpand2.output.JavaBeautifier" />
- </outlet>
-
- <!--<prSrcPaths value="${src-gen}"/>
- <prExcludes value=", *.xml, *.hbm"/>-->
- </component>
-</workflow>

Back to the top