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 Manual520270-001
2-8
Build (Compile) the Application in an OSS
Environment
password
is the password for the userid.
This command copies the Java and HTML files to the local directory from where
this batch file was run and automatically assigns the appropriate names to the files.
After all the files have been transferred, build the application.
Build (Compile) the Application in an OSS Environment
The JMAKENV utility you run to set up the build environment generates the make file
that you use to build the converted application code.
To build the converted application, you invoke the make file with the following
command:
make -f makefile-name all
To clean up the build environment (that is, to delete any previously built components),
you invoke the make file with the following command:
make -f makefile-name clean
For example, you could build the sample application by running the make file from the
OSS environment by using a command sequence such as:
TACL> OSS
% cd /usr/test/inventory
% make -f invymk.mk all
The following is an example of a make file generated by JMAKENV:
BUILDHOME = $(APPHOME)\build
CLASSPATH = $(APPHOME);$(CLASSPATH)
OUTDIR = $(APPHOME)\bin
WEBROOT = /usr/tandem/webserver/root
JAVAC = Javac -d $(OUTDIR)
.SUFFIXES: .java.class
PROGRAM_FILES = abc.java \
xyz.java \
main.java
HTML_FILES = start.html \
Ctrl.html
GIF_FILES = background.gif
all: $(PROGRAM_FILES)
clean: del /f/q $(BUILDHOME)\*.class
.java.class: $(JAVAC) -classpath $(CLASSPATH) $?
publish: all html gif