Engine

From QSOS wiki

Jump to: navigation, search

In the tools directory, you will find perl scripts, these constitute the "QSOS Engine".

Prerequesite

This QSOS::Document library is needed by the "engine" to parse XML files.

The XML::Twig and Tie::Ixhash libraries must be installed first:

On Debian:

aptitude install libxml-twig-perl libtie-ixhash-perl

On RedHat:

yum install perl-XML-Twig perl-Tie-IxHash

Others: have a look on the CPAN.

Installation:

cd qsos/libs/perl/QSOS-Document
perl Makefile.PL
make
make install

checktree and checksheet scripts

In qsos/tools/checktree/, to verify one sheet or all the sheets:

./checktree
./checksheet foobar.qsos

createemptysheet script

In qsos/tools/createemptysheet/, to create an empty sheet based on an existing template:

./createemptysheet.pl --include=/includepath --qtpl qsos-template.qtpl

--include is optional if you launch the script from its CVS directory.

Personal tools