Commit 578d81a7 authored by jcomedouteau's avatar jcomedouteau
Browse files

Corrections, lexique non fonctionnel toujours

parent f3df895e
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project basedir="." name="myantce" default="main"> <project basedir="." name="myantce" default="main">
<property file="etherpad_to_optim.properties"/> <property file="etherpad_to_lexique.properties"/>
<!-- CHECK FOR WINDOWS FAMILY OS --> <!-- CHECK FOR WINDOWS FAMILY OS -->
<condition property="is_windows"> <condition property="is_windows">
<os family="windows"/> <os family="windows"/>
...@@ -30,34 +30,36 @@ ...@@ -30,34 +30,36 @@
<exec dir="../etherpad_to_hdoc" executable="run.sh"/> <exec dir="../etherpad_to_hdoc" executable="run.sh"/>
</target> </target>
<target name="to_optim_sh" if="${is_unix}"> <target name="to_lex_sh" if="${is_unix}">
<delete> <delete>
<fileset dir="${opti_in}"> <fileset dir="${lex_in}">
<include name="*.hdoc"/> <include name="*.hdoc"/>
</fileset> </fileset>
</delete> </delete>
<copy file="${eth_out}/output.hdoc" todir="${opti_in}"/> <copy file="${eth_out}/output.hdoc" todir="${lex_in}"/>
<exec dir="../hdoc_to_optim" executable="run.sh"/> <exec dir="../hdoc_to_lexique" executable="run.sh"/>
<copy file="${opti_out}/*.scar" todir="output"/> <copy file="${lex_out}/*.scar" todir="output"/>
</target> </target>
<target name="to_optim_windows" if="${is_windows}"> <target name="to_lex_windows" if="${is_windows}">
<delete> <delete>
<fileset dir="${opti_in}"> <fileset dir="${lex_in}">
<include name="*.hdoc"/> <include name="*.hdoc"/>
</fileset> </fileset>
</delete> </delete>
<copy file="${eth_out}/output.hdoc" todir="${opti_in}"/> <copy file="${eth_out}/output.hdoc" todir="${lex_in}"/>
<exec dir="../hdoc_to_opale" executable="run.bat"/> <exec dir="../hdoc_to_lexique" executable="run.bat"/>
<mkdir dir="output"/> <mkdir dir="output"/>
<copy file="${opti_out}/result.scar" todir="output"/> <copy todir="output">
<fileset dir="${lex_out}"/>
</copy>
</target> </target>
<target name="main"> <target name="main">
<antcall target="to_hdoc_sh"/> <antcall target="to_hdoc_sh"/>
<antcall target="to_hdoc_windows"/> <antcall target="to_hdoc_windows"/>
<antcall target="to_optim_sh"/> <antcall target="to_lex_sh"/>
<antcall target="to_optim_windows"/> <antcall target="to_lex_windows"/>
</target> </target>
</project> </project>
\ No newline at end of file
...@@ -8,5 +8,5 @@ log = ${basedir}/log ...@@ -8,5 +8,5 @@ log = ${basedir}/log
eth_in = ../etherpad_to_hdoc/input eth_in = ../etherpad_to_hdoc/input
eth_out = ../etherpad_to_hdoc/output eth_out = ../etherpad_to_hdoc/output
lex_in = ../hdoc_to_lexique/input lex_in = ../hdoc_to_lexique/input
lex_out = ../hdoc_to_lexique/output lex_out = ../hdoc_to_lexique/out
rootfilename = content.xml rootfilename = content.xml
\ No newline at end of file
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</fileset> </fileset>
</delete> </delete>
<copy file="${eth_out}/output.hdoc" todir="${opti_in}"/> <copy file="${eth_out}/output.hdoc" todir="${opti_in}"/>
<exec dir="../hdoc_to_opale" executable="run.bat"/> <exec dir="../hdoc_to_optim" executable="run.bat"/>
<mkdir dir="output"/> <mkdir dir="output"/>
<copy file="${opti_out}/result.scar" todir="output"/> <copy file="${opti_out}/result.scar" todir="output"/>
</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