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
dbaa03d1
Commit
dbaa03d1
authored
Dec 29, 2015
by
Jean Vintache
Browse files
etherpad to opale : multi file and refactoring
parent
8d2b49a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
etherpad_to_opale/etherpad_to_opale.ant
View file @
dbaa03d1
...
...
@@ -9,54 +9,62 @@
<os
family=
"unix"
/>
</condition>
<target
name=
"to_hdoc_
w
in
dows"
if=
"${is_windows}
"
>
<target
name=
"to_hdoc_in
it
"
>
<delete>
<fileset
dir=
"${eth_in}"
>
<include
name=
"*.html"
/>
</fileset>
</delete>
<copy
file=
"input/pad.html"
todir=
"${eth_in}"
/>
<copy
todir=
"${eth_in}"
>
<fileset
dir=
"${in}"
>
<include
name=
"*.html"
/>
</fileset>
</copy>
</target>
<target
name=
"to_hdoc_windows"
if=
"${is_windows}"
>
<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
file=
"input/pad.html"
todir=
"${eth_in}"
/>
<exec
dir=
"../etherpad_to_hdoc"
executable=
"run.sh"
/>
</target>
<target
name=
"to_opale_
unix"
if=
"${is_unix}
"
>
<target
name=
"to_opale_
init
"
>
<delete>
<fileset
dir=
"${opa_in}"
>
<include
name=
"*.hdoc"
/>
</fileset>
</delete>
<copy
file=
"${eth_out}/output.hdoc"
todir=
"${opa_in}"
/>
<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"
/>
<copy
file=
"${opa_out}/*.scar"
todir=
"output"
/>
</target>
<target
name=
"to_opale_windows"
if=
"${is_windows}"
>
<delete>
<fileset
dir=
"${opa_in}"
>
<include
name=
"*.hdoc"
/>
</fileset>
</delete>
<copy
file=
"${eth_out}/output.hdoc"
todir=
"${opa_in}"
/>
<exec
dir=
"../hdoc_to_opale"
executable=
"run.bat"
/>
<mkdir
dir=
"output"
/>
<copy
file=
"${opa_out}/output.scar"
todir=
"output"
/>
</target>
<target
name=
"to_opale_end"
>
<copy
todir=
"${out}"
>
<fileset
dir=
"${opa_out}"
/>
</copy>
</target>
<target
name=
"main"
>
<delete
dir=
"${out}"
failonerror=
"false"
/>
<mkdir
dir=
"output"
/>
<antcall
target=
"to_hdoc_init"
/>
<antcall
target=
"to_hdoc_unix"
/>
<antcall
target=
"to_hdoc_windows"
/>
<antcall
target=
"to_opale_init"
/>
<antcall
target=
"to_opale_unix"
/>
<antcall
target=
"to_opale_windows"
/>
<antcall
target=
"to_opale_windows"
/>
<antcall
target=
"to_opale_end"
/>
</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