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
06492429
Commit
06492429
authored
Dec 17, 2015
by
Decorde Jeffrey
Browse files
Creation and deletion of tmp/output folders fixed
parent
8f3527c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
hdoc_to_opale/hdoc_to_opale.ant
View file @
06492429
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project
name=
"hdoc_to_opale"
basedir=
"."
default=
"convert"
>
<taskdef
resource=
"net/sf/antcontrib/antlib.xml"
/>
<taskdef
name=
"jing"
classname=
"com.thaiopensource.relaxng.util.JingTask"
/>
<property
name=
"in"
location=
"${basedir}/input"
/>
<property
name=
"out"
location=
"${basedir}/output"
/>
<property
name=
"tmp"
location=
"${basedir}/tmp"
/>
...
...
@@ -11,17 +15,17 @@
<property
file=
"global.properties"
/>
<taskdef
resource=
"net/sf/antcontrib/antlib.xml"
/>
<taskdef
name=
"jing"
classname=
"com.thaiopensource.relaxng.util.JingTask"
>
<classpath>
<pathelement
location=
"lib/jing.jar"
/>
</classpath>
</taskdef>
<target
name=
"convert"
>
<!-- This is the main target : it is called whether by the project (as the default target) or by the user/converter
website, if specified in the command line. Basically, this target consists in several targets/ant buildfiles calls. -->
<antcall
target=
"CleanDirectory"
/>
<delete
dir=
"${tmp}"
failonerror=
"false"
/>
<sleep
seconds=
"2"
/>
<mkdir
dir=
"${tmp}"
/>
<delete
dir=
"${out}"
failonerror=
"false"
/>
<sleep
seconds=
"2"
/>
<mkdir
dir=
"${out}"
/>
<delete
dir=
"${log}"
failonerror=
"false"
/>
<sleep
seconds=
"2"
/>
<mkdir
dir=
"${log}"
/>
<antcall
target=
"UnzipHdocFile"
/>
<antcall
target=
"ValidateInput"
/>
...
...
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