Build & Deploy Procedures

I. Development Site

The development site is at "lexlx1:/export/home/lu/Development/LA/WebLexAccess.${YEAR}". JSP and Java source codes are developed here. ant tool is used to compile and deploy. The build command and procedures are decribed as follows:

> ant help

help:
     [echo]
     [echo]   targets:
     [echo]   ----------------------------------------------------------------
     [echo]   main       compile
     [echo]   deploy     compile, deploy to the web server
     [echo]
     [echo]   clean      delete build directory
     [echo]   compile    build classes to build directory
     [echo]   ----------------------------------------------------------------
     [echo]

II. (Unit) Testing Site

After the deployment, all necessary files are deployed to the testing web site under Tomcat server at "lexlx1:/export/home/lu/www/Tomcat/tomcat/webapps/WebLexAccess.${YEAR}"

If the changes involved with Java source code, the Tomcat server need to be restarted. To start the TomCat web server, following caommands are used:

> cd /export/home/lu/www/Tomcat/jakarta-tomcat-5.5.4/bin
> su luroot
> shutdown.sh
> startup.sh 

Otherwise, just deploy it to testing site and the functionwill be updated when broswer reload it.

III. Deploy Site

After testing, the Lexical web tools can be simply deployed to Deploy site at "/net/lexdev/export/home/lu/www/Tomcat/tomcat/webapps/WebLexAccess.${YEAR}/" by following steps: