Commit 9c4c97bb authored by Jean Vintache's avatar Jean Vintache

fix etherpad-to-opale ant

parent 32eb6299
......@@ -10,7 +10,11 @@
</condition>
<target name="to_hdoc_init">
<delete>
</target>
<target name="to_hdoc_windows" if="${is_windows}">
<delete>
<fileset dir="${eth_in}">
<include name="*.html"/>
</fileset>
......@@ -19,19 +23,29 @@
<fileset dir="${in}">
<include name="*.html"/>
</fileset>
</copy>
</target>
<target name="to_hdoc_windows" if="${is_windows}">
</copy>
<exec dir="../etherpad_to_hdoc" executable="run.bat"/>
</target>
<target name="to_hdoc_unix" if="${is_unix}">
<delete>
<fileset dir="${eth_in}">
<include name="*.html"/>
</fileset>
</delete>
<copy todir="${eth_in}">
<fileset dir="${in}">
<include name="*.html"/>
</fileset>
</copy>
<exec dir="../etherpad_to_hdoc" executable="run.sh"/>
</target>
<target name="to_opale_init">
<delete>
</target>
<target name="to_opale_unix" if="${is_unix}">
<delete>
<fileset dir="${opa_in}">
<include name="*.hdoc"/>
</fileset>
......@@ -39,13 +53,18 @@
<copy todir="${opa_in}">
<fileset dir="${eth_out}"/>
</copy>
</target>
<target name="to_opale_unix" if="${is_unix}">
<exec dir="../hdoc_to_opale" executable="run.sh"/>
</target>
<target name="to_opale_windows" if="${is_windows}">
<delete>
<fileset dir="${opa_in}">
<include name="*.hdoc"/>
</fileset>
</delete>
<copy todir="${opa_in}">
<fileset dir="${eth_out}"/>
</copy>
<exec dir="../hdoc_to_opale" executable="run.bat"/>
</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