In order to install the ActionFactory Package
=============================================

Prerequisites :
===============

you need to have already install on your machine :

- TclTK version 8.0 or higher
- Python version 1.5.2
- Pmw version 0.8.4
- BLT version 2.4
- JTC version 1.0.11
- Orbacus version 3.3.2

Installation :
==============

0) Setup

 - In ./FactoryAction/Rules/ORBACUS/orb.config :
 change 'Droopy' by the machine that hosts Naming and Event services 

 - In ./FactoryAction/Classes/myterm.dev :
 give the right value to ORBACUSDIR and OB_HOME : directory where is installed ORBacus
 give the right value to  JTC_HOME : directory where is installed JTC

 - In ./AAD/distrib/config/OB_daemon.cfg :
 give the right value to OB_IMP_REP_PATH : complete path of ImpRep (ex : /usr/ActionFactory.v1.1/AAD/distrib/config/ImpRep)
 give the right value to OB_INT_REP_PATH : complete path of IntRep (ex : /usr/ActionFactory.v1.1/AAD/distrib/config/IntRep)

1) type in the current directory

./install

2) go in the VPE directory :

in python.term, set all the needed variables :
- modify VPE_INSTALL and AF_INSTALL to the real value 
- check and modify all the variables for Python, TclTK

in VPE/ActionEditor
- modify in ActionEditor the variable VPEDIR : complete path of the VPE directory (ex : /usr/ActionFactory.v1.1/VPE)

in VPE/FactoryEditor
- modify in FactoryEditor the variable VPEDIR : complete path of the VPE directory (ex : /usr/ActionFactory.v1.1/VPE)

in VPE/FactoryGenerator
- modify in FactoryGenerator the variable VPEDIR : complete path of the VPE directory (ex : /usr/ActionFactory.v1.1/VPE)

in VPE/MapEditor
- modify in MapEditor :
	- the variable VPEDIR : complete path of the VPE directory (ex : /usr/ActionFactory.v1.1/VPE)
	- the variable AF_ADMIN : complete path of the administration of the FactoryAction (ex : /usr/ActionFactory.v1.1/Admin)

in VPE/ParamlistEditor
- modify in ParamlistEditor :
	- the variable VPEDIR : complete path of the VPE directory (ex : /usr/ActionFactory.v1.1/VPE)

3) go in the Admin directory :

- in root.term, modify FA_DIR : complete path of the ActionFactory (ex : /usr/ActionFactory.v1.1).

- in Admin/Maintenance
	in CheckPFS.nightly, set the AF_ADMIN variable (for example : /usr/ActionFactory.v1.1/Admin)
	in pfs, set the AF_ADMIN variable (for example : /usr/ActionFactory.v1.1/Admin)