<?xml version="1.0" encoding="UTF-8"?> | |
<xmi:XMI 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" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> | |
<mtl:Module name="buildAcceleo" nsURI="org::eclipse::acceleo::module::example::uml2java::helios::buildAcceleo" startHeaderPosition="412" endHeaderPosition="492"> | |
<documentation xsi:type="mtl:ModuleDocumentation" author="sbegaudeau"> | |
<body startPosition="33" endPosition="409" value="
Copyright (c) 2008, 2011 Obeo.<br/>
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:
Obeo - initial API and implementation
@author sbegaudeau

"/> | |
</documentation> | |
<input> | |
<takesTypesFrom href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#/"/> | |
</input> | |
<ownedModuleElement xsi:type="mtl:Template" name="genBuildAcceleo" visibility="Public" main="true"> | |
<body xsi:type="mtl:FileBlock" openMode="OverWrite"> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="<!-- ===================================================================== -->
<!-- Custom targets. -->
<!-- Set customBuildCallbacks = build.acceleo in your build.properties. -->
<!-- ===================================================================== -->
<project name="Build Acceleo Module" default="noDefault"> 
 <!-- ================================================================= -->
 <!-- Default target -->
 <!-- ================================================================= -->
 <target name="noDefault">
 <echo message="This file must be called with explicit targets" />
 </target>

 <!-- ================================================================= -->
 <!-- This will be called automatically after the compilation of each -->
 <!-- Bundle... in dependency order. -->
 <!-- ================================================================= -->
 <target name="post.compile.@dot">
 <acceleoCompiler 
 sourceFolder="${target.folder}"
 outputFolder="${target.folder}"
 dependencies=""/> | |
<body xsi:type="mtl:ForBlock"> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="${target.folder}/../../"/> | |
<body xsi:type="ocl.ecore:VariableExp" name="dependency" referredVariable="/0/genBuildAcceleo/@body.0/@body.1/dependency.1"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</body> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=";"/> | |
<loopVariable name="dependency"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</loopVariable> | |
<iterSet xsi:type="ocl.ecore:PropertyCallExp" eType="/8/OrderedSet(String)"> | |
<source xsi:type="ocl.ecore:VariableExp" name="anAcceleoProject" referredVariable="/0/genBuildAcceleo/anAcceleoProject"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</source> | |
<referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject/pluginDependencies"/> | |
</iterSet> | |
</body> | |
<body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=""
 binaryResource="false"
 packagesToRegister="">
 </acceleoCompiler>
 </target> 
</project>
"/> | |
<fileUrl xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="build.acceleo"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</fileUrl> | |
<charset xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="UTF-8"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</charset> | |
</body> | |
<parameter name="anAcceleoProject"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</parameter> | |
</ownedModuleElement> | |
</mtl:Module> | |
<ecore:EPackage name="additions"> | |
<eClassifiers xsi:type="ecore:EClass" name="String_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Real_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | |
</eAnnotations> | |
<eOperations name="genBuildAcceleo"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<contents xsi:type="ocl.ecore:Constraint"/> | |
</eAnnotations> | |
<eAnnotations source="MTL" references="/0/genBuildAcceleo"/> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
<eParameters name="anAcceleoProject"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</eParameters> | |
</eOperations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="AcceleoProject_Class"> | |
<eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> | |
<references href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</eAnnotations> | |
</eClassifiers> | |
</ecore:EPackage> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</ocl.ecore:Variable> | |
<ecore:EPackage name="collections"> | |
<eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(String)" instanceClassName="java.util.LinkedHashSet"> | |
<elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</eClassifiers> | |
</ecore:EPackage> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1#//AcceleoProject"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="i"> | |
<eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> | |
</ocl.ecore:Variable> | |
<ocl.ecore:Variable name="self"> | |
<eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> | |
</ocl.ecore:Variable> | |
<ecore:EAnnotation source="positions"> | |
<eAnnotations source="positions.0" references="/0/@documentation"> | |
<details key="start" value="30"/> | |
<details key="end" value="411"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.1" references="/0/genBuildAcceleo"> | |
<details key="start" value="496"/> | |
<details key="end" value="2106"/> | |
<details key="line" value="16"/> | |
</eAnnotations> | |
<eAnnotations source="positions.2" references="/0/genBuildAcceleo/@body.0"> | |
<details key="start" value="583"/> | |
<details key="end" value="2094"/> | |
<details key="line" value="18"/> | |
</eAnnotations> | |
<eAnnotations source="positions.3" references="/0/genBuildAcceleo/@body.0/@body.0"> | |
<details key="start" value="624"/> | |
<details key="end" value="1852"/> | |
<details key="line" value="19"/> | |
</eAnnotations> | |
<eAnnotations source="positions.4" references="/0/genBuildAcceleo/@body.0/@body.1"> | |
<details key="start" value="1852"/> | |
<details key="end" value="1959"/> | |
<details key="line" value="39"/> | |
</eAnnotations> | |
<eAnnotations source="positions.5" references="/0/genBuildAcceleo/@body.0/@body.1/@body.0"> | |
<details key="start" value="1916"/> | |
<details key="end" value="1939"/> | |
<details key="line" value="39"/> | |
</eAnnotations> | |
<eAnnotations source="positions.6" references="/0/genBuildAcceleo/@body.0/@body.1/dependency"> | |
<details key="start" value="1940"/> | |
<details key="end" value="1950"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.7" references="/0/genBuildAcceleo/@body.0/@body.1/@body.2"> | |
<details key="start" value="1952"/> | |
<details key="end" value="1953"/> | |
<details key="line" value="39"/> | |
</eAnnotations> | |
<eAnnotations source="positions.8" references="/0/genBuildAcceleo/@body.0/@body.1/dependency.1"> | |
<details key="start" value="1857"/> | |
<details key="end" value="1876"/> | |
<details key="line" value="39"/> | |
</eAnnotations> | |
<eAnnotations source="positions.9" references="/0/genBuildAcceleo/@body.0/@body.1/@iterSet"> | |
<details key="start" value="1879"/> | |
<details key="end" value="1914"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.10" references="/0/genBuildAcceleo/@body.0/@body.1/@iterSet/anAcceleoProject"> | |
<details key="start" value="1879"/> | |
<details key="end" value="1895"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.11" references="/0/genBuildAcceleo/@body.0/@body.2"> | |
<details key="start" value="1959"/> | |
<details key="end" value="2087"/> | |
<details key="line" value="39"/> | |
</eAnnotations> | |
<eAnnotations source="positions.12" references="/0/genBuildAcceleo/@body.0/@fileUrl"> | |
<details key="start" value="590"/> | |
<details key="end" value="605"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.13" references="/0/genBuildAcceleo/@body.0/@charset"> | |
<details key="start" value="614"/> | |
<details key="end" value="621"/> | |
<details key="line" value="0"/> | |
</eAnnotations> | |
<eAnnotations source="positions.14" references="/0/genBuildAcceleo/anAcceleoProject"> | |
<details key="start" value="529"/> | |
<details key="end" value="562"/> | |
<details key="line" value="16"/> | |
</eAnnotations> | |
</ecore:EAnnotation> | |
</xmi:XMI> |