Download Extensions Integration Toolkit Developer`s Guide

Transcript
Scenario 2: Developer’s Tools Integration
Distributing the management module to Vtape
The source code used in this scenario comes from the toolkits installed
earlier. Typically, the source files for customer- or VAR-developed
extensions reside in the development area.
3. Initialize the environment variables that are used by the Installation
Toolkit and the index files for the toolkits. The easiest way is to create a
simple ASCII file and source it. Figure 6-3 shows a representative
init_env file for this scenario, using the Bourne shell (sh).
Figure 6-3.
Representative init_env file for Scenario 2 (Using Bourne shell)
#!/bin/sh
# Initialize the environment variables used by
# the Installation Toolkit tools.
MANF=“/usr/SPECTRUM/devarea/manfarea”
# Initialize the environment variables used by
# the EPAPI toolkit index file.
EPTOP=“/usr/SPECTRUM”
EPAPI=“EPAPI”
# Initialize the environment variables used by
# the IHAPI toolkit index file.
IHTOP=“/usr/SPECTRUM”
IHAPI=“IHAPI”
# Initialize the environment variables used by
# the SSAPI toolkit index file.
SSTOP=“/usr/SPECTRUM”
SSAPI=“SSAPI”
# Initialize the environment variables used by
# the other toolkit index files that are included
# with the IHAPI and SSAPI toolkits.
COMMTOP=“/usr/SPECTRUM”
COMM=“COMM”
GLOBLTOP=“/usr/SPECTRUM”
GLOBL=“GLOBL”
VPTOP=“/usr/SPECTRUM”
VPAPI=“VPAPI”
VWTOP=“/usr/SPECTRUM”
VWAPI=“VWAPI”
# Export all environment variables.
export MANF EPTOP EPAPI IHTOP IHAPI SSTOP SSAPI \
COMMTOP COMM GLOBLTOP GLOBL VPTOP VPAPI VWTOP VWAPI
The init_env file now initializes and exports all of the environment
variables that are needed by the SEI tools and the other Toolkit index
files. The SPECTRUM installation area is /usr/SPECTRUM. The
environment variables can be inherited into the environment by typing:
. init_env
4. Use the mkmm tool to build the tar files for the toolkits:
Use Scenarios
6-10
Extensions Integration Toolkit
Developer’s Guide