Wednesday, September 12, 2007

Cantata nightly build and approuter build

Occurs on dart.research.att.com. Java 1.4.2 build occurs under uid, bbcbuild while Java 1.5.0 build occurs under uid, cantatabuild.

Java 1.4.2 Build
Checks out cantatabuild module under HEAD/cantatasrc
then,
$ ant all
in HEAD/cantatasrc/build

Java 1.5.0 Build
Checks out cantatabuild module under HEAD_java5 /cantatasrc
then,
$ ant all
in HEAD/cantatasrc/build

The fetch target checks out the various modules including EChartsCPL and SipServletAppRouter.
The compile target builds all the modules. To build just the SipServletAppRouter module,
From top level directory (one above SipServletAppRouter),
$ cvs co cantatabuild
$ cd build
$ ant copy-servlet-jarsBuildfile: build.xml

copy-servlet-jars:
[copy] Copying 1 file to /home/khp/Projects/CantataApps/lib
[copy] Copying 1 file to /home/khp/Projects/SipServletAppRouter/lib
[copy] Copying 1 file to /home/khp/Projects/CantataApps/lib
[copy] Copying 1 file to /home/khp/Projects/SipServletAppRouter/lib

BUILD SUCCESSFUL
Total time: 0 seconds

This copies both sipservlet.jar and servlet.jar to SipServletAppRouter/lib directory.

However, while this allows ant to resolve the dependencies needed for the SipServletAppRouter build, it does not, by default, enable ECLIPSE to do the same. However, an ECLIPSE project can be created from an ant build file. You'll see this option when using File...New...Project in ECLIPSE. However, Tom believes that external changes to the build.xml file will not be automatically incorporated into the ECLIPSE project.

No comments: