Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

Text Categorization

TCAT Build Procedures

I. Development Site

  1. 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)
  2. Update Lib
    • ${TC}/WebTcat.${YEAR}/web/WEB-INF/lib/lvg${YEAR}dist.jar
    • ${TC}/WebTcat.${YEAR}/web/WEB-INF/lib/tc${YEAR}dist.jar
  3. 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
  4. Build & Deploy
    • > ant clean
    • > ant
    • > ant deploy
  5. 1st Test
      The Tcat web tools should work as the previous release (dataset)
  6. 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}")
  7. 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"