Build & Deploy Procedures

I. Development Site

The development site is at "cgsb9:/aux/Projects/LVG/WebLvg.2005". JSP and Java source codes are developed here. ant tool is used to compile and deploy. The build command and procedures are described as follows:

  • ant clean
  • ant
  • ant deploy

II. Testing Site

After the deployment, all necessary files are deployed to the testing web site under Tomcat server at "/aux3/www/tomcat/webapps/WebLvg"

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

> cd /aux3/www/jakarta-tomcat-4.1.27/bin

Otherwise, just deploy it to testing site and the function will be updated when browser reload it.

III. Deploy Site

After testing, the Lexical web tools can be simply deployed to deployment site at "/net/cgsb1/aux5/nls/jakarta-tomcat-4.0.2/webapps/WebLvg/" by following steps:

  • cd /net/cgsb1/aux5/nls/www/jakarta-tomcat-4.1.27/webapps
  • rm -r WebLvg
  • cp -rp /aux3/www/jakarta-tomcat-4.1.2/webapps/WebLvg.2005 .
  • cd /WebLvg/WEB-INF
  • rm web.xml
  • mv web.xml.cgsb1 web.xml
  • restart tomcat server (To start the TomCat web server, user must login to lexsrv3).