blob: 8139faa07dcff685d9530471f4777f64b047ee07 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!-- Place this file in the target project and call it with "External Tools > Run As > Ant Build" -->
<!-- You have to change the MODEL and the TARGET values -->
<project basedir="." default="mainSample" name="org.eclipse.acceleo.module.example.ecore2unittestsSample">
<import file="../../org.eclipse.acceleo.module.example.ecore2unittests/tasks/main.xml"/>
<!-- Change the values of MODEL and TARGET to point to your model and output folder -->
<property name="MODEL" value="${basedir}/model/file.xmi"/>
<property name="TARGET" value="${basedir}/src-gen"/>
<target name="mainSample" description="Generate files in 'TARGET'">
<antcall target="main" >
<param name="model" value="${MODEL}"/>
<param name="target" value="${TARGET}"/>
</antcall>
</target>
</project>