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

fix etherpad-to-opale ant

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