Commit 66c64a68 authored by Jean-Baptiste Martin's avatar Jean-Baptiste Martin

working version of optim_to_opale

parent 8f3527c6
......@@ -8,10 +8,11 @@
<property name="log" location="${basedir}/log"/>
<property name="optim_to_hdoc" location="${basedir}/../optim_to_hdoc"/>
<property name="hdoc_to_opale" location="${basedir}/../hdoc_to_opale"/>
<property name="optim_to_hdoc_in" location="${basedir}/../optim_to_hdoc/input"/>
<property name="hdoc_to_opale_in" location="${basedir}/../hdoc_to_opale/input"/>
<property name="optim_to_hdoc_out" location="${basedir}/../optim_to_hdoc/output"/>
<property name="hdoc_to_opale_out" location="${basedir}/../hdoc_to_opale/output"/>
<property name="optim_to_hdoc_in" location="${optim_to_hdoc}/input"/>
<property name="hdoc_to_opale_in" location="${hdoc_to_opale}/input"/>
<property name="optim_to_hdoc_out" location="${optim_to_hdoc}/output"/>
<property name="hdoc_to_opale_out" location="${hdoc_to_opale}/output"/>
<property name="optim_to_hdoc_ant" location="${optim_to_hdoc}/optim_to_hdoc.ant"/>
<!-- Mandatory ressource to use if conditions -->
<taskdef resource="net/sf/antcontrib/antlib.xml">
......@@ -53,6 +54,7 @@
<antcall target="prepare_hdoc_to_opale"/>
<antcall target="run_hdoc_to_opale"/>
<antcall target="output_files"/>
</then>
<else>
......@@ -75,7 +77,9 @@
</antcall>
<copy todir="${optim_to_hdoc_in}">
<fileset dir="${in}"/>
<fileset dir="${in}">
<include name="*.scar"/>
</fileset>
</copy>
</target>
......@@ -90,7 +94,7 @@
<antcall target="add_log">
<param name="msg" value="Running optim_to_hdoc bat script"/>
</antcall>
<exec executable="cmd">
<exec executable="cmd" dir="${optim_to_hdoc}">
<arg value="${optim_to_hdoc}/run.bat"/>
</exec>
</target>
......@@ -100,7 +104,7 @@
<antcall target="add_log">
<param name="msg" value="Running optim_to_hdoc shell script"/>
</antcall>
<exec executable="/bin/bash">
<exec executable="/bin/bash" dir="${optim_to_hdoc}">
<arg value="${optim_to_hdoc}/run.sh"/>
</exec>
</target>
......@@ -119,7 +123,9 @@
</antcall>
<copy todir="${hdoc_to_opale_in}">
<fileset dir="${optim_to_hdoc_out}"/>
<fileset dir="${optim_to_hdoc_out}">
<include name="*.hdoc"/>
</fileset>
</copy>
</target>
......@@ -135,7 +141,7 @@
<param name="msg" value="Running hdoc_to_opale bat script"/>
</antcall>
<exec executable="cmd">
<exec executable="cmd" dir="${hdoc_to_opale}">
<arg value="${hdoc_to_opale}/run.bat"/>
</exec>
</target>
......@@ -146,7 +152,7 @@
<param name="msg" value="Running hdoc_to_opale shell script"/>
</antcall>
<exec executable="/bin/bash">
<exec executable="/bin/bash" dir="${hdoc_to_opale}">
<arg value="${hdoc_to_opale}/run.sh"/>
</exec>
</target>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment