Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
9ab2459f
Commit
9ab2459f
authored
Dec 22, 2016
by
Anna Lainé
Browse files
First version of wiki2canoprof successfull
parent
34b7e4e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
wikipedia_to_canoprof/ant/wiki_to_canoprof.ant
View file @
9ab2459f
...
...
@@ -30,9 +30,9 @@
<target
name=
"move_output_hdoc_wikipediaToHdoc_into_input_hdocToCanoprof"
>
<!--copy .hdoc file from wikipedia_to_hdoc_result into input of hdoc_to_canoprof -->
<!--
<delete dir="../hdoc_to_canoprof/input"/>
<delete
dir=
"../hdoc_to_canoprof/input"
/>
<mkdir
dir=
"../hdoc_to_canoprof/input"
/>
<copy todir="../hdoc_to_canoprof/input" file="../wikipedia_to_hdoc/result/${filename}/${filename}.hdoc"/>
-->
<copy
todir=
"../hdoc_to_canoprof/input"
file=
"../wikipedia_to_hdoc/result/${filename}/${filename}.hdoc"
/>
<mkdir
dir=
"./testing_ant"
/>
<copy
todir=
"./testing_ant"
file=
"../wikipedia_to_hdoc/result/${filename}/${filename}.hdoc"
/>
</target>
...
...
@@ -60,22 +60,22 @@
<!-- Run hdoc_to_canoprof bat -->
<target
name=
"run_hdoc_to_canoprof_windows"
if=
"${is_windows}"
>
<!--
<exec executable="cmd" dir="${hdoc_to_canoprof}">
<exec
executable=
"cmd"
dir=
"${hdoc_to_canoprof}"
>
<arg
value=
"/c"
/>
<arg
value=
"${hdoc_to_canoprof}/run.bat"
/>
</exec>
-->
</exec>
</target>
<!-- Run hdoc_to_canoprof sh -->
<target
name=
"run_hdoc_to_canoprof_unix"
if=
"${is_unix}"
>
<!--
<exec executable="/bin/bash" dir="${hdoc_to_canoprof}">
<exec
executable=
"/bin/bash"
dir=
"${hdoc_to_canoprof}"
>
<arg
value=
"${hdoc_to_canoprof}/run.sh"
/>
</exec>
-->
</exec>
</target>
<target
name=
"move_output_hdocToCanoprof_into_ouput_wikipediaToCanoprof"
>
<!--
<copy todir="${resultPath}" failonerror="false">
<copy
todir=
"${resultPath}"
failonerror=
"false"
>
<fileset
dir=
"../hdoc_to_canoprof/output"
includes=
"**"
/>
</copy>
-->
</copy>
</target>
</project>
\ No newline at end of file
wikipedia_to_canoprof/ant/wiki_to_canoprof_fetcher.ant
View file @
9ab2459f
...
...
@@ -18,10 +18,10 @@
</target>
<target
name=
"move_output_hdoc_wikipediaToHdoc_into_input_hdocToCanoprof"
>
<!--copy .hdoc file from wikipedia_to_hdoc_result into input of hdoc_to_
opale
-->
<!--
<delete dir="../hdoc_to_canoprof/input"/>
<!--
copy .hdoc file from wikipedia_to_hdoc_result into input of hdoc_to_
canoprof
-->
<delete
dir=
"../hdoc_to_canoprof/input"
/>
<mkdir
dir=
"../hdoc_to_canoprof/input"
/>
<copy todir="../hdoc_to_canoprof/input" file="../wikipedia_to_hdoc/result/${filename}/${filename}.hdoc"/>
-->
<copy
todir=
"../hdoc_to_canoprof/input"
file=
"../wikipedia_to_hdoc/result/${filename}/${filename}.hdoc"
/>
<mkdir
dir=
"./testing_ant"
/>
<copy
todir=
"./testing_ant"
file=
"../wikipedia_to_hdoc/result/${filename}/${filename}.hdoc"
/>
</target>
...
...
@@ -49,22 +49,22 @@
<!-- Run hdoc_to_canoprof bat -->
<target
name=
"run_hdoc_to_canoprof_windows"
if=
"${is_windows}"
>
<!--
<exec executable="cmd" dir="${hdoc_to_canoprof}">
<exec
executable=
"cmd"
dir=
"${hdoc_to_canoprof}"
>
<arg
value=
"/c"
/>
<arg
value=
"${hdoc_to_canoprof}/run.bat"
/>
</exec>
-->
</exec>
</target>
<!-- Run hdoc_to_canoprof sh -->
<target
name=
"run_hdoc_to_canoprof_unix"
if=
"${is_unix}"
>
<!--
<exec executable="/bin/bash" dir="${hdoc_to_canoprof}">
<exec
executable=
"/bin/bash"
dir=
"${hdoc_to_canoprof}"
>
<arg
value=
"${hdoc_to_canoprof}/run.sh"
/>
</exec>
-->
</exec>
</target>
<target
name=
"move_output_hdocToCanoprof_into_ouput_wikipediaToCanoprof"
>
<!--
<copy todir="${resultPath}" failonerror="false">
<copy
todir=
"${resultPath}"
failonerror=
"false"
>
<fileset
dir=
"../hdoc_to_canoprof/output"
includes=
"**"
/>
</copy>
-->
</copy>
</target>
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment