Installation Instruction for Shift-Right Open Repository
================================================================================
The following instructions are for installing the Open Repository on your 
system.  When you are done, you should be able to build the sample projects 
(that are compatible with your host platform) contained in the Repository.  The 
source code in the repository has been successfully tested and compiled using 
the GNU gcc 2.95.2 compiler, Microsoft's Visual C/C++ 6.0 compiler, and Sun's 
JDK 1.4.0.  It is recommended that you read the Repository Directory Structure 
before installing the files.

Repository Core
---------------
  1. Download the srt-core-<release>.tar file. 
  2. Untar/Unzip the file. It should include three tar files:
        srt-src-benv-<release>.tar.gz
        srt-benvtools-win32-<release>.tar.gz
        srt-benvtools-unix-<release>.tar.gz 
  3. Untar/Unzip the core repository source files contained in: 
     srt-src-benv-<release>.tar.gz. The parent directory of the Repository can 
     be located anywhere. 
         $ tar xfvz srt-src-benv-<release>.tar.gz
 
  4. Untar/Unzip the BENV support tools for your host platform (unix or win32). 
     The recommended parent directory for these tools is: /tools.  However, the 
     tools can be located anywhere.  Set the environment variable 
     BENV_LATEST_ROOT to the actual parent directory used. 
     For Unix:
        $ cd /tools
        $ tar xfvz srt-benvtools-unix-<release>.tar.gz

     For Windows:
        Use Winzip (or similar tool) and unzip the file 
        srt-benvtools-win32-<release>.tar.gz to c:\tools.
 
  5. For Unix. 
        Update the symbolic file links contained in the hostlinks/ directory to 
        point to the appropriate tools.  Skip this step for all of the host 
        tools you do not need (i.e. skip the powerpc tools if you are not 
        developing for the powerpc). For example if your native gcc compiler is 
        located at /usr/bin, then: 
           $ cd /<repositoryroot>/hostlinks/Linux/native
           $ ln -s /usr/bin bin
 
    For Windows.
        a) Create the directory \tmp on the same drive that BENV tools where 
           installed on.  This directory is needed by the UNIX shell emulator 
           that is part of the BENV tools. For example: if the BENV tools are 
           installed at c:\tools then create c:\tmp.
        b) Insure that the needed host tools (compiler, linker, etc.) are in the 
           "command path".  Typically, this done using the hostlinks directory 
           and symbolic links.  But, since Windows does not support symbolic 
           file links, this step has to be done manually.  For example: if you 
           are using the Visual C/C++ compiler, put the vcvars32.bat somewhere 
           in your command path.  Then when a developer begins working, he/she 
           simply runs the batch file.
 
  6. Follow the steps in the BENV user's guide to properly configure the 
     developer's environment. 
 

Source Code Documentation
-------------------------
  1. Download the srt-doc-<release>.tar file. 
  2. Untar/Unzip the file. It should include three tar files:
        srt-doc-cxx-<release>.tar.gz
        srt-doc-java-<release>.tar.gz 
  3. Untar/Unzip the desired document file(s) in the parent directory of your 
     choice.  To view the documentation start with the html file(s):
        docs/cpp/html/index.html
        docs/java/html/index.html 


Third-part Sources and Tools
----------------------------
  1. Download the srt-cxx-<release>.tar and/or srt-java-<release>.tar file(s). 
  2. Untar/Unzip the selected file(s). Each tar file contains one or more 
     packages that need to be installed in the xsource/ or xjava/ Open 
     Repository directories. 
        For example, To install the C/C++ package Expat:
            $ cd xsource/
            $ tar xfvz jclark-expat-<release>.tar.gz

        For example, to install the JAVA package Excalibur:
            $ cd xjava/
            $ tar xfvz apache-excalibur-<release>.tar.gz 


Utilities
---------
  1. Download the desired srt-util-<utility>-<release>.tar.gz file(s). 
  2. Untar/Unzip the selected file(s) in the directory of your choice.  Add the 
     target directory to your host's command path. 

