Installation

Important note 1: For your convenience standard installation procedure described below accomplished in advance and included in this distribution.

Important note 2: Before use ontology must be compiled as described in Ontology compilation. In fresh installation compilation will be working only if in DroolsTab-5.1 folder exists a subfolder "classes" with the ru.igis.omtab.pins.Activity.class in it. To create such subfolder run before demo examples in a terminal the command "DroolsTab-1.5/run_protege.sh" (.bat for Windows), open a project "projects/Scenario.pprj", go to "Drools" tab and click a button "Compile Ontology". Don't mind error messages, be sure that subfolder "classes" with the ru.igis.omtab.pins.Activity.class appeared in DroolsTab-5.1 folder. Exit Protege

    Protege installation:

Download and install Protege_3.x.x (not Protege_4.x !) from http://protege.stanford.edu (if not yet).

    Drools installation:

Download and install Drools from http://www.jboss.org/drools/downloads (if not yet).

    OpenMap installation:

Download and install OpenMap from http://openmap.bbn.com (if not yet).

    Groovy installation:

Download and install Groovy from http://groovy.codehaus.org/ (if not yet).

    DroolsTab itself installation:

Unzip DroolsTabScene-x.x.zip file in a folder of your choice. This will be referred below as <DroolsTabScene> folder.
  1. Put in the  <DroolsTabScene> /lib_ext folder next .jar files (mandatory)
        - from the <Protege_Home> directory:
            protege.jar,
            looks.jar,
            unicode_panel.jar
;

        - from the <Protege_Home>/plugins/edu.stanford.smi.protegex.standard_extensions directory:
            JGo.jar
            JGoLayout.jar
            standard-extensions.jar;

        - from the <Drools_Distribution>/binaries directory:
            antlr-runtime-x.x.jar,
            drools-compiler-x.x.x.Final.jar,
            drools-core-x.x.x.Final.jar,
            ecj-x.x.x.jar,
            knowledge-api-x.x.x.Final.jar,
            mvelx-x.x.x.y.jar;

        - from the <OpenMap_Home>/lib directory:
            openmap.jar;


        - from the <Groovy_Home>/embeddable directory:
            groovy-all-x.x.x.jar.

    3. Put in the same folder any additionally needed .jar files (optionally).
       
    4. Use the script <ProtegeClojureTab>/run_protege.sh to start Protege and run examples in Linux and Mac OS X (run_protege.bat in Windows).

    5. To run demo examples follow instructions in <DroolsTabScene-5.0>/doc/index.html. Examples better run in order because subsequent ones use techniques shown in preceding.

    6. "Shuffle Europe" and Map Inspector examples need installation of Clojure programming languge. Download and install Clojure from http://clojure.org (if not yet). Put in the  <DroolsTabScene> /lib_ext folder from the <Clojure_Home> directory:
            clojure-x.x.x.jar
   

    Ru (mailto:sorokin@oogis.ru)