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
3622cbd8
Commit
3622cbd8
authored
Dec 10, 2015
by
Jean Vintache
Browse files
fix myantce.ant
parent
23c394fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
etherpad_to_hdoc/antce/myantce.ant
View file @
3622cbd8
...
...
@@ -19,16 +19,17 @@
<!-- Apply Xslt -->
<target
name=
"apply-xslt"
>
<xslt
in=
"${xsl}/html2xhtml.xsl"
out=
"${tmp}/tmpPad.xhtml"
style=
"${xsl}/html2xhtml.xsl"
/>
<xslt
in=
"${tmp}/tmpPad.html"
out=
"${tmp}/content.xml"
style=
"${xsl}/xhtml2hdoc.xsl"
/>
<xslt
in=
"${tmp}/tmpPad.
x
html"
out=
"${tmp}/
tozip/
content.xml"
style=
"${xsl}/xhtml2hdoc.xsl"
/>
</target>
<!-- Builds Hdoc structure -->
<target
name=
"construct_hdoc"
>
<mkdir
dir=
"${tmp}/META-INF"
/>
<mkdir
dir=
"${tmp}/tozip/"
/>
<mkdir
dir=
"${tmp}/tozip/META-INF"
/>
<!-- container -->
<touch
file=
"${tmp}/META-INF/container.xml"
/>
<echoxml
file=
"${tmp}/META-INF/container.xml"
>
<touch
file=
"${tmp}/
tozip/
META-INF/container.xml"
/>
<echoxml
file=
"${tmp}/
tozip/
META-INF/container.xml"
>
<container
version=
"1.0"
>
<rootfiles>
<rootfile
full-path=
"${rootfilename}"
media-type=
"text/xml"
/>
...
...
@@ -38,12 +39,12 @@
<!-- mimetype -->
<touch
file=
"${tmp}/mimetype"
/>
<echo
message=
"application/x-hdoc+zip"
file=
"${tmp}/mimetype"
/>
<echo
message=
"application/x-hdoc+zip"
file=
"${tmp}/
tozip/
mimetype"
/>
</target>
<!-- Zip Hdoc container -->
<target
name=
"zip"
>
<zip
basedir=
"${tmp}"
destfile=
"${out}/output.hdoc"
/>
<zip
basedir=
"${tmp}
tozip/
"
destfile=
"${out}/output.hdoc"
/>
</target>
<target
name=
"main"
depends=
"start,apply-xslt,construct_hdoc,zip"
/>
...
...
Write
Preview
Supports
Markdown
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