Commit 21b96776 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

added source and C model

refs 121
parent fc7476a5
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="generated-src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
......
# <copyright>
# </copyright>
#
# $Id$
# (c) 2011 ForTISS GmbH
bin.includes = .,\
META-INF/
source.. = src/
model/,\
META-INF/,\
plugin.xml,\
plugin.properties
jars.compile.order = .
source.. = generated-src/,\
src/
output.. = build/
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
$Id$
@version $Rev$
@ConQAT.Rating GREEN Hash: AE69A68B14ECD0C7042691CA5D6EE05A
-->
<project name="org.fortiss.af3.expression" default="generate-ecore" basedir="..">
<property name="model.name" value="languages" />
<property name="model.project" value="org.fortiss.af3.generator.common" />
<!-- Classpath Definition -->
<buckminster.valuepath id="project.classpath" value="${fs:project.classpath}" />
<path id="classpath">
<path refid="project.classpath"/>
<!-- add src to the classpath as only the bin directory is in the classpath
and some resources such as the workflow or properties file might not yet
have been copied to the bin directory -->
<pathelement location="src"/>
</path>
<!-- Generation Tasks -->
<target name="generate-ecore">
<emf.Ecore2Java
model="model/${model.name}.ecore"
genModel="model/${model.name}.genmodel"
modelProject="/${model.project}"
modelProjectFragmentPath="generated-src"
reconcileGenModel="reload">
</emf.Ecore2Java>
</target>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="model"
nsURI="http://www.fortiss.org/af3/generator/common/languages" nsPrefix="org-fortiss-af3-generator-common-languages">
<eSubpackages name="source" nsURI="http://www.fortiss.org/af3/generator/common/languages/source"
nsPrefix="org-fortiss-af3-generator-common-languages-source">
<eClassifiers xsi:type="ecore:EClass" name="Source"/>
</eSubpackages>
<eSubpackages name="c" nsURI="http://www.fortiss.org/af3/generator/common/languages/c"
nsPrefix="org-fortiss-af3-generator-common-languages-c"/>
</ecore:EPackage>
<?xml version="1.0" encoding="UTF-8"?>
<genmodel:GenModel xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="(c) 2011 ForTISS GmbH"
modelDirectory="/org.fortiss.af3.generator.common/generated-src" editDirectory="org.fortiss.af3.generator.common.edit/src"
editorDirectory="/org.fortiss.af3.generator.common.editor/src" modelPluginID="org.fortiss.af3.generator.common"
modelName="Model" modelPluginClass="" editPluginClass="org.fortiss.af3.generator.common.model.provider.ModelEditPlugin"
editorPluginClass="org.fortiss.af3.generator.common.model.presentation.ModelEditorPlugin"
testsDirectory="/org.fortiss.af3.generator.common.tests/test-src" importerID="org.eclipse.emf.importer.ecore"
containmentProxies="true" arrayAccessors="true" complianceLevel="5.0" copyrightFields="false"
language="">
<foreignModel>languages.ecore</foreignModel>
<genPackages prefix="AF3GeneratorCommonLanguages" basePackage="org.fortiss.af3.generator.common"
disposableProviderFactory="true" ecorePackage="languages.ecore#/">
<nestedGenPackages prefix="Source" disposableProviderFactory="true" ecorePackage="languages.ecore#//source">
<genClasses ecoreClass="languages.ecore#//source/Source"/>
</nestedGenPackages>
<nestedGenPackages prefix="C" disposableProviderFactory="true" ecorePackage="languages.ecore#//c"/>
</genPackages>
</genmodel:GenModel>
# (c) 2011 ForTISS GmbH
pluginName = AF3 Generator common
providerName = fortiss GmbH
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
(c) 2011 ForTISS GmbH
-->
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri="http://www.fortiss.org/af3/generator/common/languages/source"
class="org.fortiss.af3.generator.common.model.source.SourcePackage"
genModel="model/languages.genmodel"/>
</extension>
</plugin>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment