Commit 06492429 authored by Decorde Jeffrey's avatar Decorde Jeffrey

Creation and deletion of tmp/output folders fixed

parent 8f3527c6
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project name="hdoc_to_opale" basedir="." default="convert"> <project name="hdoc_to_opale" basedir="." default="convert">
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
<taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask"/>
<property name="in" location="${basedir}/input"/> <property name="in" location="${basedir}/input"/>
<property name="out" location="${basedir}/output"/> <property name="out" location="${basedir}/output"/>
<property name="tmp" location="${basedir}/tmp"/> <property name="tmp" location="${basedir}/tmp"/>
...@@ -11,17 +15,17 @@ ...@@ -11,17 +15,17 @@
<property file=""/> <property file=""/>
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
<taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask">
<pathelement location="lib/jing.jar"/>
<target name="convert"> <target name="convert">
<!-- This is the main target : it is called whether by the project (as the default target) or by the user/converter
website, if specified in the command line. Basically, this target consists in several targets/ant buildfiles calls. --> <delete dir="${tmp}" failonerror="false"/>
<antcall target="CleanDirectory"/> <sleep seconds="2"/>
<mkdir dir="${tmp}"/>
<delete dir="${out}" failonerror="false"/>
<sleep seconds="2"/>
<mkdir dir="${out}"/>
<delete dir="${log}" failonerror="false"/>
<sleep seconds="2"/>
<mkdir dir="${log}"/>
<antcall target="UnzipHdocFile"/> <antcall target="UnzipHdocFile"/>
<antcall target="ValidateInput" /> <antcall target="ValidateInput" />
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