INSTALLATION NOTES
==================

1.Maintaining Environment
=========================

All entities of the package (i.e. Gateway, samples etc.) share the same
script file in order to properly maintain environment variables like
CLASSPATH etc. Location  of this file is: "package/Scripts/SetEnvironment".
This is the only file you may have to modify if location of ORBacus
installation, OpenTTCN classes etc. is different from settlements made in
this file.

The other change which might be needed to be made as samples are moved to a
new location include changing the file "package/Samples/SetServiceLocation"
which is responsible for maintaining proper values of PIXIT parameters etc.

2. Installing Gateway
=====================

2.1. To clean all automatically generated files leaving only files referring
to the pure Gateway implementation, type in the package root directory:

make clean

2.2. To compile the Gateway, type:

make

2.3. Running the Gateway. In order to run the Gateway, Naming Service and   
Interface Reporistory shall be installed beforehand. This shall be done only
once per session. To do this, type:

make nsserv
make irserv

To launch the Gateway, type:

make run

A shortcut for installing Naming Service, Interface Repository and Gateway,
which is equivalent to "make nsserv; make irserv; make run":

make runall

(This way the Gateway should normally be installed only for the first time
per session. Consequent installations are normally done by "make run".)

To kill Interface Repository server and Naming Service server, type:

make killall

3. Installing Samples
=====================

The following operations are defined for test examples, e.g. for "Primitive"
(package/Samples/Servers/Primitive), and these have the similar meaning as
defined in section 2:

make
make clean
make run

To run TTCN test suite, you shall copy "package/Samples/Servers/Primitive/TTCN"
directory to the appropriate location and launch:

./doit

