blob: 1c3eac67fb839aefb14d19569527644a0adc634d [file] [log] [blame]
[comment encoding = UTF-8 /]
[**
* Copyright (c) 2008, 2012 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
*/]
[module buildAcceleo('http://www.eclipse.org/acceleo/ui/acceleowizardmodel/3.1')/]
[template public genBuildAcceleo(anAcceleoProject : AcceleoProject)]
[comment @main /]
[file ('build.acceleo', false, 'UTF-8')]
<!-- ===================================================================== -->
<!-- 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="[for(dependency : String | anAcceleoProject.pluginDependencies)]${target.folder}/../../[dependency/];[/for]"
binaryResource="false"
packagesToRegister="">
</acceleoCompiler>
</target>
</project>
[/file]
[/template]