Pathway/iTS 1.0 README for S Systems
iii) Creates a make file with the name specified in the
command line and copies this make file to <app-home>/build
as <make-file>.mk
b) Set the CLASSPATH environment variable to point to ITSJLIB.jar as
follows:
export CLASSPATH=/usr/tandem/Pathway-iTS/itsjlib.jar:$CLASSPATH
Also, other environment variables must also be set for Java
compilation. For example, /usr/tandem/java/bin must be added to
$PATH, and /usr/tandem/java/lib/classes.zip and
/usr/tandem/java/lib/tandemvm.zip should be added to $CLASSPATH.
c) Change directory to <app-home>/build and execute the make file.
The make file can be executed as follows:
make -f <make-filke>.mk DEPLOY=<deploy-path> publish
where <deploy-path> is an existing OSS directory in the root
directory of the webserver.
This command does the following:
i) Compiles all the Java source files and creates the class
files in the directory <app-home>/bin.
ii) Copies all the HTML files from <app-home>/build to the
directory /usr/tandem/webserver/root/<deploy-path>
iii) Copies all the class files from <app-home>/bin to the
directory /usr/tandem/webserver/root/<deploy-path>
iV) Copies all the gif files to the directory
/usr/tandem/webserver/root/<deploy-path>
It is assumed that the gif files will be kept in the root
directory: /usr/tandem/webserver/root
d) More options are available in the make file. For example
i) to publish only the HTML files from <app-home>/build to
the <deploy-path> directory, give the command
make -f <make-file>.mk DEPLOY=<deploy-path> html
ii) to publish only the class files from <app-home>/bin to
the <deploy-path> directory, the command is
make -f <make-file>.mk DEPLOY=<deploy-path> class
iii) to delete all the class files from <app-home>/bin, the
command is
make -f <make-file>.mk clean
iv) to compile all the Java source files, the command is
make -f <make-file>.mk all
This command creates all the class files in <app-home>/bin
directory.
v) to publish all the gif files (which are assumed to be
located at /usr/tandem/webserver/root), give the command
make -f <make-file>.mk DEPLOY=<deploy-path> gif
Note:
While running the application, the ITSJLIB.jar must reside in the
deployment directory. Therefore, before starting the application,
copy the ITSJLIB.jar file to the <deploy-path> directory using
the following command:
cp /usr/tandem/Pathway-iTS/itsjlib.jar
/usr/tandem/webserver/root/<deploy-path>/itsjlib.jar
X. Items To Be Aware Of
1. The converter (SCUP) supports only 15 levels in a group data
declaration. SCOBOL language supports up to 48 different levels.
Note : the number of different levels are restricted but not the
actual level numbers. For example, in the following group
declaration, there are 4 levels though level numbers used are
file:///C|/READMEs PATHWAY/PathwayiTS 1.0/ReadmePwyiTS15Ssystems.txt
file:///C|/READMEs PATHWAY/PathwayiTS 1.0/ReadmePwyiTS15Ssystems.txt (7 of 9) [4/27/2004 11:11:25 AM]