Pathway/iTS Web Client Programming Manual (G06.24+)
How to Compile, Build, and Maintain a Pathway/iTS
Web Client
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
2-10
Deploy the Web Client on an OSS Environment
•
Copies all the compiled Java files from the /usr/test/inventory/bin
directory to the /usr/webserver/root/testapp directory, where
/usr/webserver/root is obtained from the WEBROOT variable in the make
file.
Move installation files to the web server
Before running the application, you must move the following files to the application
directory on the web server (these files were created when Pathway/iTS was installed):
ITSJLIB.jar, BPathwayiTS.js, OVPathwayiTS.js, and blank.html.
Copy these files to the application directory in the root using the following commands:
cp /usr/tandem/Pathway-iTS/itsjlib.jar
/usr/tandem/webserver/root/application-dir/itsjlib.jar
cp /usr/tandem/Pathway-iTS/BPathwayiTS.js
/usr/tandem/webserver/root/application-dir/BPathwayiTS.js
cp /usr/tandem/Pathway-iTS/OVPathwayiTS.js
/usr/tandem/webserver/root/application-dir/OVPathwayiTS.js
cp /usr/tandem/Pathway-iTS/blank.html
/usr/tandem/webserver/root/application-dir/blank.html
In addition, Compaq recommends you also move the file end.html to the application
directory on the server. This file is displayed when the application terminates and can be
modified. Copy the file using the following command:
cp /usr/tandem/Pathway-iTS/end.html
/usr/tandem/webserver/root/application-dir/end.html
Test the converted application
If the URL for the default page on the web server is http://intraweb.mycompany.com,
you can now test the converted application by using this URL:
http://intraweb.mycompany.com/testapp/INVENTORY_START.html
Additional options available in the make file are as follows:
•
Publish only the HTML files from /usr/test/inventory/build
-f invymk.mk DEPLOY=testapp html
•
Publish only the class files from /usr/test/inventory/bin
-f invymk.mk DEPLOY=testapp class
•
Delete all the class files from /usr/test/inventory/bin
-f invymk.mk clean
•
Compile all the Java source files and create the class files in /usr/test/inventory/bin
-f invymk.mk all