Blame view

fr.femtost.disc.eclipse.sysml2vhdlams.acceleo/tasks/sysml2vhdlamsfileTarget.xml 867 Bytes
f902ce56c   Jean-Marie Gauthier   Commit of projects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  <?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="sysml2vhdlamsfileSample" name="fr.femtost.disc.eclipse.sysml2vhdlams.acceleoSample">
  	<import file="../../fr.femtost.disc.eclipse.sysml2vhdlams.acceleo/tasks/sysml2vhdlamsfile.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="sysml2vhdlamsfileSample" description="Generate files in 'TARGET'">
  		<antcall target="sysml2vhdlamsfile" >
  			<param name="model" value="${MODEL}"/>
  			<param name="target" value="${TARGET}"/>
  		</antcall>
  	</target>
  </project>