2021-10-05 20:17:48 +00:00
|
|
|
<?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 -->
|
|
|
|
|
2021-10-09 11:56:20 +00:00
|
|
|
<project basedir="." default="toTinaSample" name="fr.n7.petriNet.totinaSample">
|
|
|
|
<import file="../../fr.n7.petriNet.totina/tasks/toTina.xml"/>
|
2021-10-05 20:17:48 +00:00
|
|
|
|
|
|
|
<!-- 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"/>
|
|
|
|
|
2021-10-09 11:56:20 +00:00
|
|
|
<target name="toTinaSample" description="Generate files in 'TARGET'">
|
|
|
|
<antcall target="toTina" >
|
2021-10-05 20:17:48 +00:00
|
|
|
<param name="model" value="${MODEL}"/>
|
|
|
|
<param name="target" value="${TARGET}"/>
|
|
|
|
</antcall>
|
|
|
|
</target>
|
|
|
|
</project>
|