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
0f2bc172
Commit
0f2bc172
authored
Dec 17, 2015
by
Jean-Baptiste Martin
Browse files
add readme.md
parent
4f6d9dc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
optim_to_opale/readme.md
0 → 100644
View file @
0f2bc172
Optim to Opale (optim_to_opale)
-------------------------------
Last edit: December 17, 2015
# Purpose
`optim_to_opale`
is an ANT script to convert a file from Optim format to Opale format.
# Dependencies
In order to work properly this script needs
1.
`optim_to_hdoc`
(Optim to HDoc conversion)
2.
`hdoc_to_opale`
(HDoc to Opale conversion)
# Running the script
1.
Put the file you want to convert into the
`input`
directory
2.
Run the
`run.sh`
file on a Unix system (Linux, Mac OS, etc.) or the
`run.bat`
on Windows
3.
Your converted file is placed into the
`output`
directory (a log file is also placed into the
`log`
directory)
4.
Enjoy!
# How is this script working
1.
The script first determines what OS you are using so it then can call the right scripts
2.
It cleans the
`log`
,
`tmp`
and
`output`
directories
3.
It copies the files that are inside the
`input`
directory to the
`input`
directory of
`optim_to_hdoc`
4.
It calls
`optim_to_hdoc`
run script (
`.bat`
on windows,
`.sh`
on Unix)
5.
It copies the files that are inside the
`output`
directory of
`optim_to_hdoc`
to the
`input`
directory of
`hdoc_to_opale`
6.
It calls
`hdoc_to_opale`
run script (
`.bat`
on windows,
`.sh`
on Unix)
7.
It copies the files that are inside the
`output`
directory of
`hdoc_to_opale`
to the
`output`
directory of
`optim_to_opale`
During all the process it also print both on screen and in the log file some basic information.
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