TCAT Build Procedures
I. Development Site
- Establish Baseline
- > cd ${TC}
- > cp -r WebTcat.${PREV_YEAR} WebTcat.${YEAR}
- Modify build.xml:
- app.year
- catalina.home (if Tomcat Web App server is upgraded)
- Update Lib
- ${TC}/WebTcat.${YEAR}/web/WEB-INF/lib/lvg${YEAR}dist.jar
- ${TC}/WebTcat.${YEAR}/web/WEB-INF/lib/tc${YEAR}dist.jar
- Update files WebTc.${YEAR}/web
- update ${YEAR} in files of ./WEB-INF/web.xml, web.xml.lexdev, web.xml.lexsrv2, web.xml.lexsrv3
- update ${YEAR} in:
- ${WEB_TC}/web/html/about.html
- ${WEB_TC}/web/html/releases.html
- Build & Deploy
- > ant clean
- > ant
- > ant deploy
- 1st Test
The Tcat web tools should work as the previous release (dataset)
- Fix SCRs: data set
- Option of using different version of data set
- ${WEB_TCAT}/src/tc/mDataSet.java
- add public final static int TC_${YEAR} = X;
- modify public final static int TC_DEFAULT = TC_${YEAR};
- add DATA_SET_STRS.add("${YEAR}")
- Build & Deploy
- > 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 "lexdev:/${TOMCAT}/webapps/WebTc.${YEAR}"
III. Deploy Site
After testing, the TC web tools can be simply deployed to Deploy site at "lexsrv3" and "lexsrv2"