Introduction

Ant tool is used to compile and manage project files. GC100 Targets uses ant script for the following tasks.

Ant script file is located at: build.xml

GC100 ANT Usage:

  1. Target: "init"

    Create directory structure like a Tomcat Project at [TOMCAT_HOME]/webapps if it does not exist.

    [TOMCAT_HOME]/webapps/UCH/WEB-INF/lib

  2. Target: "compile-all"

    Compile all the .java files of the directory GC100Targets/dev/src recursively and create the .class files at the same location.

  3. Target: "make-jar"

    Create gclib.jar file which contains .class files of the packages:

    Create gctdm.jar file which contains .class files of the packages:

    Create gcirta.jar file which contains .class files of the package and its sub packages:

    Create gcserialta.jar file which contains .class files of the package and its sub packages:

    Create gcrelayta.jar file which contains .class files of the package and its sub packages:

    Put all the created jar files in UCH/bin directory.

  4. Target: "copy-to-tomcat"

    In this process files from other projects are being pulled in.

    Required Files:

    GC100 Files:

    Delete/Create Files from cache directory:

  5. Target: "uch-war"

    Create a UCH.war file and copy it to GC100Targets/bin directory.

    UCH.war contains following contents

    [TOMCAT_HOME]/webapps/UCH/**

    NOTE: ** - all files, directories with sub-directories and files of that directory.


Last update: Parikshit Thakur & Team, 2010-04-13