Commit e80a9492 authored by Baptiste Montange's avatar Baptiste Montange

opale_to_basex script ant

parent 38b47280
......@@ -3,4 +3,4 @@ log=${basedir}/log
xsl=${basedir}/xsl
in=${basedir}/input
out=${basedir}/output
tmp=${basedir}/tmp
\ No newline at end of file
tmp=${basedir}/tmp
......@@ -37,7 +37,7 @@
</for>
<!-- Clean-->
<delete dir="${tmp}" failonerror="false"/>
<!-- <delete dir="${tmp}" failonerror="false"/> -->
</target>
......
libdir=${basedir}/lib
rngdir=${basedir}/rng
xsldir=${basedir}/xsl
srcdir=${basedir}/in
outdir=${basedir}/out
InputPath=${basedir}/input
OutputPath=${basedir}/output
inputPath=${basedir}/input
outputPath=${basedir}/output
inputOpaleToHdoc=../opale_to_hdoc/input
outputOpaleToHdoc=../opale_to_hdoc/output
inputHdocToBasex=../hdoc_to_basex/input
outputHdocToBasex=../hdoc_to_basex/output
\ No newline at end of file
<project name="opale_to_basex">
<project name="opale_to_basex" default="clean">
<property file="build.properties"/>
<echo message="To be implemented..."/>
<target name="AllFiles">
<delete>
<fileset dir="${outputPath}" />
</delete>
</project>
\ No newline at end of file
<copy todir="${inputOpaleToHdoc}">
<fileset dir="${inputPath}"/>
</copy>
<ant antfile="../opale_to_hdoc/opale_to_hdoc.ant" inheritAll="false"/>
<copy todir="${inputHdocToBasex}">
<fileset dir="${outputOpaleToHdoc}"/>
</copy>
<ant antfile="../hdoc_to_basex/hdoc_to_basex.ant" inheritAll="false"/>
<copy todir="${outputPath}" >
<fileset dir="${outputHdocToBasex}"/>
</copy>
</target>
<target name="clean" depends="AllFiles">
<!-- -->
<delete includeemptydirs="true" verbose="true">
<fileset dir="${inputOpaleToHdoc}">
<include name="*.scar"/>
</fileset>
</delete>
<delete includeemptydirs="true" verbose="true">
<fileset dir="${outputOpaleToHdoc}">
<include name="*.hdoc"/>
</fileset>
</delete>
<delete includeemptydirs="true" verbose="true">
<fileset dir="${inputHdocToBasex}">
<include name="*.hdoc"/>
</fileset>
</delete>
<delete includeemptydirs="true" verbose="true">
<fileset dir="${outputHdocToBasex}"/>
</delete>
</target>
</project>
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