Using the command line tool

To use the conversion script using the command line tool, you will need to install ANT (http://ant.apache.org/)

You can download the converter. At the root, you can see the ANT script named ckeditor_to_hdoc.ant. This script is the one your website will have to run at the end. Here, we are just going to launch it using the command line.

The command to launch the script is this one :

ant –buildfile ckeditor_to_hdoc.ant

Then, you will find your hdoc file at the root, it is named outZip.hdoc.

To run the opale converter, you need to lunch from the root this command line :

ant -buildfile ./hdoctoopale/hdoc_to_opale.ant -DInputPath ../outZip.hdoc -Dtmpdir ../opalescar/

You can find the scar output file in the folder hdoctoopale, it is named out.scar.