projet-mini-genie-logiciel-.../eclipse-workspace/fr.n7.petrinet.toTINA/tasks/toTINATarget.xml
Laurent Fainsin e1419fa6ab TP5
2021-10-09 22:04:54 +02:00

20 lines
775 B
XML

<?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="toTINASample" name="fr.n7.petrinet.toTINASample">
<import file="../../fr.n7.petrinet.toTINA/tasks/toTINA.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="toTINASample" description="Generate files in 'TARGET'">
<antcall target="toTINA" >
<param name="model" value="${MODEL}"/>
<param name="target" value="${TARGET}"/>
</antcall>
</target>
</project>