Log Message:
-----------
Check in alternative build scripts for "nomodule" builds
Modified Paths:
--------------
branches/controltier-3-6-support/commander/maven.xml
Added Paths:
-----------
branches/controltier-3-6-support/buildall-nomodules.sh
branches/controltier-3-6-support/commander/project-nomodules.xml
Added: branches/controltier-3-6-support/buildall-nomodules.sh
===================================================================
--- branches/controltier-3-6-support/buildall-nomodules.sh (rev 0)
+++ branches/controltier-3-6-support/buildall-nomodules.sh 2011-08-01 14:37:54 UTC (rev 10356)
@@ -0,0 +1,847 @@
+#!/bin/bash
+
+###################################
+# script for full controltier build
+###################################
+
+# find wget
+if which wget >/dev/null; then
+ GET="wget -N"
+elif which curl >/dev/null; then
+ GET="curl -O"
+else
+ echo "Couldn't find wget or curl, need one or the other!" 1>&2
+ exit 1
+fi
+
+# configure JAVA_HOME and BUILD_ROOT as required
+#export JAVA_HOME=/usr/java/jdk1.5.0_15
+if [ -z "$BUILD_ROOT" ] ; then
+ export BUILD_ROOT=$HOME/build
+fi
+
+if [ ! -f $JAVA_HOME/bin/java ] ; then
+ echo "ERROR: java is not configured correctly. Set JAVA_HOME."
+ exit 1
+fi
+
+if [ ! -f $HOME/.ssh/id_dsa.pub ] ; then
+ echo "ERROR: $HOME/.ssh/id_dsa file must exist. Please run: ssh-keygen -t dsa"
+ exit 1
+fi
+
+CTLSVNROOT="https://ctl-dispatch.svn.sourceforge.net/svnroot/ctl-dispatch"
+CTIERSVNROOT="https://controltier.svn.sourceforge.net/svnroot/controltier"
+SEEDSVNROOT="https://moduleforge.svn.sourceforge.net/svnroot/moduleforge/controltier"
+
+CTLBRANCH=ctl-dispatch-3-6-support
+CTIERBRANCH=controltier-3-6-support
+
+# CTLVERS and CTIERVERS will be determined from "version.properties" file in svn root
+
+#grails version for ctl-center
+GRAILSVERS=1.2.0
+
+prepare_build(){
+
+mkdir -p $BUILD_ROOT
+
+# dl dir is for downloaded files
+mkdir -p $BUILD_ROOT/dl
+
+# local dir is for installed components needed for build
+mkdir -p $BUILD_ROOT/local
+
+# localrepo dir is the local repository for intermediate build files and other dependencies
+mkdir -p $BUILD_ROOT/localrepo
+export LOCALREPO=$BUILD_ROOT/localrepo
+export LOCALREPOURL=file:$LOCALREPO
+
+
+mkdir -p $LOCALREPO/apache-ant/zips
+if [ ! -f $LOCALREPO/apache-ant/zips/apache-ant-1.8.1.zip ] ; then
+ if [ ! -z "$PKGREPO" -a -f $PKGREPO/apache-ant/zips/apache-ant-1.8.1.zip ] ; then
+ cp $PKGREPO/apache-ant/zips/apache-ant-1.8.1.zip $LOCALREPO/apache-ant/zips/
+ else
+ # get ant zip dependency to local repo if it doesn't exist
+ cd $LOCALREPO/apache-ant/zips
+ $GET http://ctl-dispatch.sourceforge.net/repository/apache-ant/zips/apache-ant-1.8.1.zip
+ fi
+fi
+
+# extract apache-ant to local dir for use during build
+if [ ! -f $BUILD_ROOT/local/apache-ant-1.8.1/bin/ant ] ; then
+ cd $BUILD_ROOT/local
+ unzip -o $LOCALREPO/apache-ant/zips/apache-ant-1.8.1.zip
+fi
+
+export ANT_HOME=$BUILD_ROOT/local/apache-ant-1.8.1
+
+# extract grails to local dir for use during build of CTL Center
+if [ ! -f $BUILD_ROOT/local/grails-$GRAILSVERS/bin/grails ] ; then
+ if [ ! -z "$PKGREPO" -a -f $PKGREPO/grails/zips/grails-$GRAILSVERS.zip ] ; then
+ cd $BUILD_ROOT/local
+ unzip $PKGREPO/grails/zips/grails-$GRAILSVERS.zip
+ else
+ # get grails bin distribution
+ cd $BUILD_ROOT/dl
+ $GET http://dist.codehaus.org/grails/grails-$GRAILSVERS.zip
+ cd $BUILD_ROOT/local
+ unzip $BUILD_ROOT/dl/grails-$GRAILSVERS.zip
+ fi
+fi
+
+export GRAILS_HOME_111=$BUILD_ROOT/local/grails-$GRAILSVERS
+
+
+# begin checkout of sources
+
+cd $BUILD_ROOT
+
+#checkout ctier source
+if [ ! -d ctiersvn ] ; then
+ svn co $CTIERSVNROOT/branches/$CTIERBRANCH ctiersvn
+ if [ 0 != $? ]
+ then
+ echo "CTIER src checkout failed"
+ exit 2
+ fi
+else
+ svn up ctiersvn
+ if [ 0 != $? ]
+ then
+ echo "CTIER src checkout failed"
+ exit 2
+ fi
+fi
+export CTIERSVN=$BUILD_ROOT/ctiersvn
+if [ -z "$CTIERVERS" ] ; then
+ export CTIERVERS=$( grep version.number= $CTIERSVN/version.properties | cut -d= -f 2 )
+fi
+echo "CTIERVERS=$CTIERVERS"
+
+if [ -z "$CTIERREL" ] ; then
+ export CTIERREL=$( grep version.release.number= $CTIERSVN/version.properties | cut -d= -f 2 )
+fi
+if [ -z "$CTIERREL" ] ; then
+ export CTIERREL="0"
+fi
+echo "CTIERREL=$CTIERREL"
+
+
+#checkout ctl source
+if [ ! -d ctlsvn ] ; then
+ svn co $CTLSVNROOT/branches/$CTLBRANCH ctlsvn
+ if [ 0 != $? ]
+ then
+ echo "CTL src checkout failed"
+ exit 2
+ fi
+else
+ svn up ctlsvn
+ if [ 0 != $? ]
+ then
+ echo "CTL src checkout failed"
+ exit 2
+ fi
+fi
+export CTLSVN=$BUILD_ROOT/ctlsvn
+if [ -z "$CTLVERS" ] ; then
+ export CTLVERS=$( grep version.number= $CTLSVN/version.properties | cut -d= -f 2 )
+fi
+echo "CTLVERS=$CTLVERS"
+
+export CCSVN=$CTIERSVN/ctl-center
+
+cat >/dev/null <<END_COMMENT
+cd $BUILD_ROOT
+if [ ! -d $BUILD_ROOT/ctierseedsvn ] ; then
+ svn co $SEEDSVNROOT/branches/$CTIERBRANCH ctierseedsvn
+ if [ 0 != $? ]
+ then
+ echo "Controltier Seed src checkout failed"
+ exit 2
+ fi
+else
+ svn up ctierseedsvn
+ if [ 0 != $? ]
+ then
+ echo "Controltier Seed src update failed"
+ exit 2
+ fi
+
+fi
+export SEEDSVN=$BUILD_ROOT/ctierseedsvn
+END_COMMENT
+
+# do release increment if necessary
+if [ "$DO_RELEASE_INCREMENT" = "true" ] ; then
+ do_release_increment
+fi
+
+}
+
+build_ctl(){
+#########################
+#
+# CTL build
+#
+# NOTE: if $HOME/.ssh/id_dsa does not exist, run ssh-keygen:
+# ssh-keygen -t dsa
+
+
+cd $CTLSVN
+echo maven.repo.ctierlocal = $LOCALREPOURL > build.properties
+MAVEN_HOME=$CTLSVN/maven
+cd $CTLSVN && $MAVEN_HOME/bin/maven clean ctl:antConfigure
+if [ 0 != $? ]
+then
+ echo "CTL build failed"
+ exit 2
+fi
+cd $CTLSVN && $MAVEN_HOME/bin/maven ctl:stgz ctl:tgz ctl:zip
+if [ 0 != $? ]
+then
+ echo "CTL build failed"
+ exit 2
+fi
+#remove previous build artifacts from maven repository
+rm -rf $CTIERSVN/maven/repository/ctl
+rm -rf $CTIERSVN/maven/repository/ctl-dispatch
+
+mkdir -p $LOCALREPO/ctl/jars
+mkdir -p $LOCALREPO/ctl/tgzs
+mkdir -p $LOCALREPO/ctl-dispatch/tgzs
+mkdir -p $LOCALREPO/ctl/zips
+mkdir -p $LOCALREPO/ctl-dispatch/zips
+cp target/ctl-dispatch-$CTLVERS.jar $LOCALREPO/ctl/jars/ctl-$CTLVERS.jar
+if [ 0 != $? ]
+then
+ echo "CTL build failed: cannot copy target/ctl-dispatch-$CTLVERS.jar"
+ exit 2
+fi
+
+cp target/dist/zips/ctl-dispatch-$CTLVERS.zip $LOCALREPO/ctl/zips/ctl-$CTLVERS.zip
+if [ 0 != $? ]
+then
+ echo "CTL build failed: cannot copy target/dist/zips/ctl-dispatch-$CTLVERS.zip"
+ exit 2
+fi
+
+cp target/dist/tgzs/ctl-dispatch-$CTLVERS.tgz $LOCALREPO/ctl/tgzs/ctl-$CTLVERS.tgz
+if [ 0 != $? ]
+then
+ echo "CTL build failed: cannot copy target/dist/tgzs/ctl-dispatch-$CTLVERS.tgz"
+ exit 2
+fi
+
+cp target/dist/zips/ctl-dispatch-$CTLVERS.zip $LOCALREPO/ctl-dispatch/zips/ctl-dispatch-$CTLVERS.zip
+if [ 0 != $? ]
+then
+ echo "CTL build failed: cannot copy target/dist/zips/ctl-dispatch-$CTLVERS.zip"
+ exit 2
+fi
+
+cp target/dist/tgzs/ctl-dispatch-$CTLVERS.tgz $LOCALREPO/ctl-dispatch/tgzs/ctl-dispatch-$CTLVERS.tgz
+if [ 0 != $? ]
+then
+ echo "CTL build failed: cannot copy target/dist/tgzs/ctl-dispatch-$CTLVERS.tgz"
+ exit 2
+fi
+}
+
+build_common(){
+#######################
+#
+# CTIER common build
+#
+MAVEN_HOME=$CTIERSVN/maven
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/common/build.properties
+cd $CTIERSVN/common
+cd $CTIERSVN/common && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true clean java:jars
+if [ 0 != $? ]
+then
+ echo "CTIER common build failed"
+ exit 2
+fi
+
+rm -rf $CTIERSVN/maven/repository/ctier-common
+rm -rf $CTIERSVN/maven/repository/ctier-common-vocabulary
+
+mkdir -p $LOCALREPO/ctier-common/jars
+mkdir -p $LOCALREPO/ctier-common-vocabulary/jars
+cp target/distributions/ctier-common/jars/ctier-common-$CTIERVERS.jar $LOCALREPO/ctier-common/jars/ctier-common-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "CTIER common build failed: cannot copy target/distributions/ctier-common/jars/ctier-common-$CTIERVERS.jar"
+ exit 2
+fi
+cp target/distributions/ctier-common-vocabulary/jars/ctier-common-vocabulary-$CTIERVERS.jar $LOCALREPO/ctier-common-vocabulary/jars/ctier-common-vocabulary-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "CTIER common build failed: cannot copy target/distributions/ctier-common-vocabulary/jars/ctier-common-vocabulary-$CTIERVERS.jar"
+ exit 2
+fi
+}
+
+build_elements_seed(){
+######################
+#
+# Elements Seed build
+#
+# Note: this step uses the common sourcebase and maven dependency to build the elements-seed
+#
+MAVEN_HOME=$CTIERSVN/maven
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/common/build.properties
+
+rm -rf $SEEDSVN/target/elements-seed
+mkdir -p $SEEDSVN/target/elements-seed
+
+cd $CTIERSVN/common
+cd $CTIERSVN/common && $MAVEN_HOME/bin/maven -Dseed.name=elements -Dseed.build.name=elements-seed-$CTIERVERS -Dseed.modulesrc.dir=$SEEDSVN/core/modules,$SEEDSVN/elements/modules -Dseed.target.dir=$SEEDSVN/target/elements-seed seed:build
+if [ 0 != $? ]
+then
+ echo "Elements Seed build failed: unable to create the elements-seed-$CTIERVERS.jar"
+ exit 2
+fi
+
+rm -rf $CTIERSVN/maven/repository/elements-seed
+
+mkdir -p $LOCALREPO/elements-seed/jars
+cp $SEEDSVN/target/elements-seed/elements-seed-$CTIERVERS.jar $LOCALREPO/elements-seed/jars/elements-seed-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "Ctier Seed build failed: cannot copy target/elements-seed-$CTIERVERS.jar"
+ exit 2
+fi
+}
+
+build_core_seed(){
+######################
+#
+# Core Seed build
+#
+# Note: this step uses the common sourcebase and maven dependency to build the core-seed
+#
+MAVEN_HOME=$CTIERSVN/maven
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/common/build.properties
+
+rm -rf $SEEDSVN/target/core-seed
+mkdir -p $SEEDSVN/target/core-seed
+cd $CTIERSVN/common
+cd $CTIERSVN/common && $MAVEN_HOME/bin/maven -Dseed.name=core -Dseed.build.name=core-seed-$CTIERVERS -Dseed.modulesrc.dir=$SEEDSVN/core/modules -Dseed.target.dir=$SEEDSVN/target/core-seed seed:build
+if [ 0 != $? ]
+then
+ echo "Ctier Seed build failed: unable to create the core-seed-$CTIERVERS.jar"
+ exit 2
+fi
+
+rm -rf $CTIERSVN/maven/repository/core-seed
+
+mkdir -p $LOCALREPO/core-seed/jars
+cp $SEEDSVN/target/core-seed/core-seed-$CTIERVERS.jar $LOCALREPO/core-seed/jars/core-seed-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "Base Seed build failed: cannot copy target/core-seed-$CTIERVERS.jar"
+ exit 2
+fi
+}
+
+build_workbench(){
+#########################
+#
+# CTIER workbench build
+#
+
+MAVEN_HOME=$CTIERSVN/maven
+cd $CTIERSVN/workbench
+
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/workbench/build.properties
+cd $CTIERSVN/workbench && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true clean java:jar-resources
+if [ 0 != $? ]
+then
+ echo "Workbench build failed"
+ exit 2
+fi
+cd $CTIERSVN/workbench && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true java:jar war
+if [ 0 != $? ]
+then
+ echo "Workbench build failed"
+ exit 2
+fi
+
+rm -rf $CTIERSVN/maven/repository/itnav
+
+mkdir -p $LOCALREPO/itnav/wars
+cp target/itnav.war $LOCALREPO/itnav/wars/itnav-$CTIERVERS.war
+if [ 0 != $? ]
+then
+ echo "Workbench build failed: cannot copy target/itnav.war"
+ exit 2
+fi
+}
+
+build_commander_extension(){
+##################
+#
+# CTIER commander-extension build
+#
+MAVEN_HOME=$CTIERSVN/maven
+cd $CTIERSVN/commander
+
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/commander/build.properties
+cd $CTIERSVN/commander && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true clean java:jar-resources
+if [ 0 != $? ]
+then
+ echo "CTIER commander-extension build failed "
+ exit 2
+fi
+cd $CTIERSVN/commander && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true extension:package
+if [ 0 != $? ]
+then
+ echo "CTIER commander-extension build failed "
+ exit 2
+fi
+
+rm -rf $CTIERSVN/maven/repository/commander
+rm -rf $CTIERSVN/maven/repository/commander-extension
+rm -rf $CTLSVN/maven/repository/commander-extension
+
+# artifacts: commander-extension-X.jar, commander-X.jar
+mkdir -p $LOCALREPO/commander-extension/jars
+mkdir -p $LOCALREPO/commander/jars
+cp dist/jars/commander-extension-$CTIERVERS.jar $LOCALREPO/commander-extension/jars/commander-extension-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "CTIER commander-extension build failed: cannot copy dist/jars/commander-extension-$CTIERVERS.jar"
+ exit 2
+fi
+
+cp target/commander-$CTIERVERS.jar $LOCALREPO/commander/jars/commander-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "CTIER commander-extension build failed: cannot copy target/commander-$CTIERVERS.jar"
+ exit 2
+fi
+}
+
+build_commander_nomodules_extension(){
+##################
+#
+# CTIER commander_extension build without modules
+#
+MAVEN_HOME=$CTIERSVN/maven
+cd $CTIERSVN/commander
+
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/commander/build.properties
+#cd $CTIERSVN/commander && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true clean java:jar-resources
+cd $CTIERSVN/commander && $MAVEN_HOME/bin/maven -p project-nomodules.xml -Djava.net.preferIPv4Stack=true clean java:jar-resources
+if [ 0 != $? ]
+then
+ echo "CTIER commander-nomodules-extension build failed "
+ exit 2
+fi
+#cd $CTIERSVN/commander && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true extension:package
+cd $CTIERSVN/commander && $MAVEN_HOME/bin/maven -p project-nomodules.xml -Djava.net.preferIPv4Stack=true extension:package
+if [ 0 != $? ]
+then
+ echo "CTIER commander-nomodules-extension build failed "
+ exit 2
+fi
+
+rm -rf $CTIERSVN/maven/repository/commander
+rm -rf $CTIERSVN/maven/repository/commander-nomodules-extension
+rm -rf $CTLSVN/maven/repository/commander-nomodules-extension
+
+# artifacts: commander-nomodules-extension-X.jar, commander-X.jar
+mkdir -p $LOCALREPO/commander-nomodules-extension/jars
+mkdir -p $LOCALREPO/commander/jars
+cp dist/jars/commander-extension-$CTIERVERS.jar $LOCALREPO/commander-nomodules-extension/jars/commander-nomodules-extension-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "CTIER commander-nomodules-extension build failed: cannot copy dist/jars/commander-extension-$CTIERVERS.jar"
+ exit 2
+fi
+
+cp target/commander-$CTIERVERS.jar $LOCALREPO/commander/jars/commander-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "CTIER commander-nomodules-extension build failed: cannot copy target/commander-$CTIERVERS.jar"
+ exit 2
+fi
+}
+
+build_ctl_bundle(){
+##################
+#
+# CTL bundle build
+#
+
+cd $CTLSVN/bundle
+export MAVEN_HOME=../maven
+echo maven.repo.ctier = $LOCALREPOURL > build.properties
+$MAVEN_HOME/bin/maven clean ctl:bundle
+if [ 0 != $? ]
+then
+ echo "CTL bundle build failed"
+ exit 2
+fi
+
+#!! failed to download ctl-dispatch.jar ... !!!
+
+rm -rf $CTIERSVN/maven/repository/ctl/tgzs
+rm -rf $CTIERSVN/maven/repository/ctl/zips
+
+# artifacts: ctl-X.tgz, ctl-X.zip
+mkdir -p $LOCALREPO/ctl/zips
+mkdir -p $LOCALREPO/ctl/tgzs
+cp target/dist/zips/ctl-$CTLVERS.zip $LOCALREPO/ctl/zips/ctl-$CTLVERS.zip
+if [ 0 != $? ]
+then
+ echo "CTL bundle build failed: cannot copy target/dist/zips/ctl-$CTLVERS.zip"
+ exit 2
+fi
+
+cp target/dist/tgzs/ctl-$CTLVERS.tgz $LOCALREPO/ctl/tgzs/ctl-$CTLVERS.tgz
+if [ 0 != $? ]
+then
+ echo "CTL bundle build failed: cannot copy target/dist/tgzs/ctl-$CTLVERS.tgz"
+ exit 2
+fi
+#echo ctl_bundle disabled
+
+}
+
+build_ctl_center(){
+#####################
+#
+# CTL Center build
+#
+
+cd $CCSVN
+# copy the dependencies into the lib directory
+cp $LOCALREPO/ctl/jars/ctl-$CTLVERS.jar lib/
+cp $LOCALREPO/ctier-common/jars/ctier-common-$CTIERVERS.jar lib/
+cp $LOCALREPO/ctier-common-vocabulary/jars/ctier-common-vocabulary-$CTIERVERS.jar lib/
+cp $LOCALREPO/commander/jars/commander-$CTIERVERS.jar lib/
+MYPATH=$PATH
+export GRAILS_HOME=$GRAILS_HOME_111
+echo GRAILS_HOME=$GRAILS_HOME
+export PATH=$PATH:$GRAILS_HOME/bin
+
+#echo 'y' to the command to quell y/n prompt on second time running it:
+echo -e "y\n" | $GRAILS_HOME/bin/grails install-plugin jetty
+if [ 0 != $? ]
+then
+ echo "failed to install jetty plugin"
+ exit 2
+fi
+
+#echo 'y' to the command to quell y/n prompt on second time running it:
+echo -e "y\n" | $GRAILS_HOME/bin/grails install-plugin $CCSVN/plugins/grails-webrealms-0.1.zip
+if [ 0 != $? ]
+then
+ echo "failed to install webrealms plugin"
+ exit 2
+fi
+
+# run clean and test
+$ANT_HOME/bin/ant -Djetty.archive.available=true -f build.xml clean test
+if [ 0 != $? ]
+then
+ echo "CTL Center tests failed"
+ exit 2
+fi
+
+#run dist phase
+$ANT_HOME/bin/ant -Djetty.archive.available=true -f build.xml dist
+if [ 0 != $? ]
+then
+ echo "CTL Center build failed"
+ exit 2
+fi
+
+rm -rf $CTIERSVN/maven/repository/ctlcenter
+
+# artifacts: ctlcenter-X.zip
+mkdir -p $LOCALREPO/ctlcenter/zips
+cp target/ctlcenter-$CTIERVERS.zip $LOCALREPO/ctlcenter/zips/ctlcenter-$CTIERVERS.zip
+if [ 0 != $? ]
+then
+ echo "Ctl Center build failed: cannot copy target/ctlcenter-$CTIERVERS.zip"
+ exit 2
+fi
+export PATH=$MYPATH
+export GRAILS_HOME=
+
+}
+
+
+build_examples(){
+######################
+#
+# examples package build
+#
+cd $CTIERSVN/examples
+rm -rf $CTIERSVN/examples/target
+mkdir -p $CTIERSVN/examples/target
+svn export . $CTIERSVN/examples/target/examples
+if [ 0 != $? ]
+then
+ echo "Examples source svn export failed"
+ exit 2
+fi
+
+cd target
+zip -r ctier-examples-$CTIERVERS.zip examples
+if [ 0 != $? ]
+then
+ echo "Examples package build failed"
+ exit 2
+fi
+
+rm -rf $CTIERSVN/examples/target/examples
+rm -rf $CTIERSVN/maven/repository/ctier-examples
+
+#artifacts: ctier-examples-X.zip
+mkdir -p $LOCALREPO/ctier-examples/zips
+cp $CTIERSVN/examples/target/ctier-examples-$CTIERVERS.zip $LOCALREPO/ctier-examples/zips/ctier-examples-$CTIERVERS.zip
+if [ 0 != $? ]
+then
+ echo "Examples build failed: cannot copy target/ctier-examples-$CTIERVERS.zip"
+ exit 2
+fi
+
+}
+
+build_installer(){
+######################
+#
+# Installer build
+#
+MAVEN_HOME=$CTIERSVN/maven
+cd $CTIERSVN/installer
+
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/installer/build.properties
+cd $CTIERSVN/installer && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true clean installer:create
+if [ 0 != $? ]
+then
+ echo "Installer build failed"
+ exit 2
+fi
+
+
+#artifacts: ControlTier-Installer-$CTIERVERS.jar, ControlTier-$CTIERVERS.zip
+
+ls target/dist/ControlTier-Installer/jars/ControlTier-Installer-$CTIERVERS.jar
+if [ 0 != $? ]
+then
+ echo "Installer build failed: couldn't find target/dist/ControlTier-Installer/jars/ControlTier-Installer-$CTIERVERS.jar"
+ exit 2
+fi
+
+ls target/dist/ControlTier/zips/ControlTier-$CTIERVERS.zip
+if [ 0 != $? ]
+then
+ echo "Installer build failed: couldn't find target/dist/ControlTier/zips/ControlTier-$CTIERVERS.zip"
+ exit 2
+fi
+
+}
+
+build_client_rpm(){
+######################
+#
+# Installer build
+#
+MAVEN_HOME=$CTIERSVN/maven
+cd $CTIERSVN/installer
+
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/installer/build.properties
+echo "release version: $CTIERREL"
+#manually set the release number in spec file
+CSPECTEMPL=$CTIERSVN/installer/src/rpm/SPECS/ctier-client.spec.template
+perl -i'.orig' -p -e "s#^Release: .*\$#Release: $CTIERREL#" $CSPECTEMPL || (echo "Failed to change release number in client spec file: $!" && exit 2)
+cd $CTIERSVN/installer && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true clean client:rpmbuild
+if [ 0 != $? ]
+then
+ echo "Installer build failed"
+ exit 2
+fi
+
+
+#artifacts: ctier-client-$CTIERVERS-$CTIERREL.noarch.rpm
+
+#ctier-client-3.4.9-1.noarch.rpm
+ls $CTIERSVN/installer/target/rpm/RPMS/noarch/ctier-client-${CTIERVERS}-${CTIERREL}.noarch.rpm
+if [ 0 != $? ]
+then
+ echo "Installer build failed: couldn't find target/rpmbuild/ctier-client-$CTIERVERS-$CTIERREL.rpm"
+ exit 2
+fi
+
+}
+build_server_rpm(){
+######################
+#
+# Installer build
+#
+MAVEN_HOME=$CTIERSVN/maven
+cd $CTIERSVN/installer
+
+echo maven.repo.ctlocal = $LOCALREPOURL > $CTIERSVN/installer/build.properties
+SSPECTEMPL=$CTIERSVN/installer/src/rpm/SPECS/ctier-server.spec.template
+perl -i'.orig' -p -e "s#^Release: .*\$#Release: $CTIERREL#" $SSPECTEMPL || (echo "Failed to change release number in server spec file: $!" && exit 2)
+cd $CTIERSVN/installer && $MAVEN_HOME/bin/maven -Djava.net.preferIPv4Stack=true server:rpmbuild-full
+if [ 0 != $? ]
+then
+ echo "Installer build failed"
+ exit 2
+fi
+
+
+#artifacts: ctier-client-$CTIERVERS-$CTIERREL.noarch.rpm
+
+#ctier-client-3.4.9-1.noarch.rpm
+ls $CTIERSVN/installer/target/rpm/RPMS/noarch/ctier-server-${CTIERVERS}-${CTIERREL}.noarch.rpm
+if [ 0 != $? ]
+then
+ echo "Installer build failed: couldn't find target/rpmbuild/ctier-server-$CTIERVERS-$CTIERREL.rpm"
+ exit 2
+fi
+
+}
+
+do_clean(){
+
+ echo "Cleaning..."
+ #clean localrepo of build artifacts
+ rm -r $BUILD_ROOT/localrepo/ctier-* $BUILD_ROOT/localrepo/commander-extension \
+ $BUILD_ROOT/localrepo/commander $BUILD_ROOT/localrepo/ctl* $BUILD_ROOT/localrepo/itnav \
+ $BUILD_ROOT/localrepo/core-seed $BUILD_ROOT/localrepo/elements-seed \
+ $BUILD_ROOT/localrepo/reportcenter
+
+ #remove ctl expanded ant package
+ rm -rf $BUILD_ROOT/ctlsvn/pkgs/apache-ant*
+
+ #remove ctl-center lib dir which may contain previously built jars
+ rm $BUILD_ROOT/ctiersvn/ctl-center/lib/{ctl,ctier,commander}*.jar
+
+ #clean build target dirs
+ rm -r $BUILD_ROOT/ctierseedsvn/target
+ rm -rf $BUILD_ROOT/ctlsvn/target
+ rm -r $BUILD_ROOT/ctiersvn/installer/target
+ rm -r $BUILD_ROOT/ctiersvn/workbench/target
+ rm -r $BUILD_ROOT/ctiersvn/ctl-center/target
+ rm -r $BUILD_ROOT/ctiersvn/commander/target
+ rm -r $BUILD_ROOT/ctiersvn/common/target
+
+ #clean intermediate maven repo dirs of build artifacts
+ rm -r $BUILD_ROOT/ctiersvn/maven/repository/commander*
+ rm -r $BUILD_ROOT/ctiersvn/maven/repository/ctier*
+ rm -r $BUILD_ROOT/ctiersvn/maven/repository/ctl*
+ rm -r $BUILD_ROOT/ctiersvn/maven/repository/itnav
+ rm -r $BUILD_ROOT/ctiersvn/maven/repository/jobcenter
+ rm -r $BUILD_ROOT/ctiersvn/maven/repository/reportcenter
+ rm -r $BUILD_ROOT/ctlsvn/maven/repository/ctl*
+
+ if [ -d $BUILD_ROOT/ctierseedsvn ] ; then
+ echo "Reverting SEED dir..."
+ svn revert --recursive $BUILD_ROOT/ctierseedsvn
+ fi
+
+ echo "Cleaned local build artifacts and targets."
+}
+
+do_release_increment(){
+ CTIERREL=$(($CTIERREL + 1))
+
+ grep -q version.release.number $CTIERSVN/version.properties
+ if [ $? != 0 ] ; then
+ echo "version.release.number=$CTIERREL">> $CTIERSVN/version.properties
+ echo "Added release number to $CTIERSVN/version.properties"
+ else
+ perl -i'.orig' -p -e "s#^version\.release\.number\s*=.*\$#version.release.number=$CTIERREL#" $CTIERSVN/version.properties || (echo "Failed to commit release number increment: $!" && exit 2)
+ echo "Updated release number in $CTIERSVN/version.properties"
+ fi
+
+ svn ci -m "Update Release number to $CTIERREL" $CTIERSVN/version.properties || (echo "Failed to commit release number increment: $!" && exit 2)
+ echo "Update release number to $CTIERREL"
+}
+
+if [ "$1" = "-clean" ] ; then
+ shift
+ do_clean
+fi
+
+DO_RELEASE_INCREMENT=false
+if [ "$1" = "-release" ] ; then
+ shift
+ #do_release_increment
+ DO_RELEASE_INCREMENT=true
+fi
+
+if [ -z "$*" ] ; then
+
+ prepare_build
+ build_ctl
+ build_common
+ build_core_seed
+ build_elements_seed
+ build_commander_extension
+ build_workbench
+ build_ctl_bundle
+ build_ctl_center
+ build_examples
+ build_installer
+else
+ prepare_build
+ for i in $* ; do
+ case "$i" in
+ ctl)
+ build_ctl
+ ;;
+ common)
+ build_common
+ ;;
+ elements_seed)
+ build_elements_seed
+ ;;
+ core_seed)
+ build_core_seed
+ ;;
+ workbench)
+ build_workbench
+ ;;
+ commander_extension)
+ build_commander_extension
+ ;;
+ commander_nomodules_extension)
+ build_commander_nomodules_extension
+ ;;
+ ctl_bundle)
+ build_ctl_bundle
+ ;;
+ ctl_center)
+ build_ctl_center
+ ;;
+ examples)
+ build_examples
+ ;;
+ installer)
+ build_installer
+ ;;
+ client_rpm)
+ build_client_rpm
+ ;;
+ server_rpm)
+ build_server_rpm
+ ;;
+ *)
+ echo unknown action: ${i}
+ exit 1
+ ;;
+ esac
+ done
+ exit 0
+fi
Property changes on: branches/controltier-3-6-support/buildall-nomodules.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Modified: branches/controltier-3-6-support/commander/maven.xml
===================================================================
--- branches/controltier-3-6-support/commander/maven.xml 2011-07-28 20:12:07 UTC (rev 10355)
+++ branches/controltier-3-6-support/commander/maven.xml 2011-08-01 14:37:54 UTC (rev 10356)
@@ -232,6 +232,7 @@
todir="${extension.workspace}/jars"/>
</j:if>
</j:forEach>
+ <mkdir dir="${target.dir}/extract/modules"/>
<copy todir="${extension.workspace}/modules">
<fileset dir="${target.dir}/extract/modules">
<include name="*-1.jar"/>
Added: branches/controltier-3-6-support/commander/project-nomodules.xml
===================================================================
--- branches/controltier-3-6-support/commander/project-nomodules.xml (rev 0)
+++ branches/controltier-3-6-support/commander/project-nomodules.xml 2011-08-01 14:37:54 UTC (rev 10356)
@@ -0,0 +1,650 @@
+<?xml version="1.0"?>
+<project>
+
+ <!--
+ ** version of Mavens project descriptor, leave alone maven will deal with
+ ** it
+ -->
+ <pomVersion>3</pomVersion>
+
+ <!--
+ ** full name of the project, for JavaDoc titles
+ -->
+ <name>controltier-commander-nomodules</name>
+
+ <!--
+ ** short name/version of the project, for jar and dist file generation
+ <id>depo</id>
+ -->
+ <id>commander</id>
+ <currentVersion>3.6.1</currentVersion>
+
+
+ <!--
+ ** Organizational attributes name/url
+ -->
+ <organization>
+ <name>ControlTier Project</name>
+ <url>http://controltier.org/</url>
+ </organization>
+
+ <!--
+ ** Copyright data generated for JavaDoc
+ -->
+ <inceptionYear>2003</inceptionYear>
+
+ <!--
+ ** JavaDoc pkg name
+ -->
+ <package>com.controltier.commander</package>
+
+ <!--
+ ** single line description of project
+ -->
+ <shortDescription>Deployment Object Tools</shortDescription>
+
+ <!-- OPTIONAL for GUMP
+ <gumpRepositoryId>???</gumpRepositoryId>
+ -->
+
+ <!--
+ ** A detailed description of this project for "front page" of report
+ -->
+ <description>
+ This is the Deployment Object System, please see
+ <![CDATA[<a href="http://www.dtosolutions.com">DTO Solutions Aspect-oriented Metadata Management</a>]]>
+ for details
+ </description>
+
+ <!--
+ ** URL to projects home page (not where cvs is located)
+ -->
+ <url>http://www.dtosolutions.com/</url>
+
+ <!--
+ ** Projects logo url (can be rel/abs path)
+ -->
+ <logo>http://www.opendepo.org/DepO/Drawings/Images/logo.gif</logo>
+
+ <!-- Project's issue tracking system OPTIONAL
+ <issueTrackingUrl>
+ http://trackingurl/...
+ </issueTrackingUrl>
+ -->
+
+ <!--
+ ** OPTIONAL, hostname/directory of project's webserver deployment hosting site
+ -->
+ <siteAddress>daffy.controltier.com</siteAddress>
+ <!-- <siteDirectory>/Some/Directory/Path</siteAddress> -->
+
+ <!--
+ ** OPTIONAL, final distribution path name
+ -->
+ <!-- <distributionDirectory> /path/to/Distribution </distributionDirectory> -->
+
+ <!--
+ ** Repository we will be doing checkouts from and it's browsable url
+ ** NOTE: we must manage this file and replace cvs username in connection element for the correct one
+ ** also, requires key synchronization since SSH is used.
+ -->
+ <repository>
+ <!--
+ ** We will need to figure out how to deal with anoncvs or
+ ** softcode the username here
+ -->
+ <connection>
+ scm:cvs:ext:ano...@daffy.controltier.net:/srcroot/commander
+ </connection>
+ <url>
+ http://daffy.controltier.com/cgi-bin/cvsweb.cgi/
+ </url>
+ </repository>
+
+ <!-- OPTIONAL info on prev scm (cvs) versions of the project (tags, etc)
+ <versions>
+ </versions>
+ -->
+
+ <!--
+ ** OPTIONAL for doc purposes, will put mailto: in doc
+ -->
+ <!--
+ <mailingLists>
+ </mailingLists>
+ -->
+
+ <!--
+ ** Our participating developers
+ -->
+ <developers>
+ <developer>
+ <name>Chuck Scott</name>
+ <id>chuck</id>
+ <email>ch...@dtosolutions.com</email>
+ <organization>DTO Solutions</organization>
+ </developer>
+ <developer>
+ <name>Alex Honor</name>
+ <id>alexh</id>
+ <email>al...@dtosolutions.com</email>
+ <organization>DTO Solutions</organization>
+ </developer>
+ <developer>
+ <name>Greg Schueler</name>
+ <id>greg</id>
+ <email>gr...@dtosolutions.com</email>
+ <organization>DTO Solutions</organization>
+ </developer>
+ </developers>
+
+ <!--
+ ** Classpath Dependencies. We package jars in centralized server referenced by url property value from
+ ** maven.repo.remote property (default set in build.xml file)
+ ** (Last currently set value was http://tellyouwhat.dnsalias.net/repo/ which is relative to doc root)
+ **
+ ** each dependency must be packaged as so:
+ ** <id>/jars/<id>-<version>.jar (relative to /repo/)
+ ** nested <war.bundle.jar>true</war.bundle.jar> to indicate whether this jar should be pkg'd in deployed war
+ -->
+ <dependencies>
+
+ <dependency>
+ <id>ctl</id>
+ <version>3.6.1</version>
+ <url>http://ctl.controltier.com/</url>
+ <properties>
+ <war.bundle.jar>false</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>avalon-framework</id>
+ <version>cvs-20020806</version>
+ <url>http://avalon.apache.org/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>batik-util</id>
+ <version>1.6</version>
+ <url>http://xmlgraphics.apache.org/batik/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>batik-svg-dom</id>
+ <version>1.6</version>
+ <url>http://xmlgraphics.apache.org/batik/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+
+ <dependency>
+ <id>batik-awt-util</id>
+ <version>1.6</version>
+ <url>http://xmlgraphics.apache.org/batik/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>batik-bridge</id>
+ <version>1.6</version>
+ <url>http://xmlgraphics.apache.org/batik/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>batik-gvt</id>
+ <version>1.6</version>
+ <url>http://xmlgraphics.apache.org/batik/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>xjavadoc</id>
+ <version>1.1</version>
+ <url>http://xdoclet.sourceforge.net/</url>
+ <properties>
+ <war.bundle.jar>false</war.bundle.jar>
+ </properties>
+ </dependency>
+ <!-- commons-codec required by commons-httpclient -->
+ <dependency>
+ <id>commons-codec</id>
+ <version>1.3</version>
+ <url>http://jakarta.apache.org/commons/codec/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>commons-beanutils</id>
+ <version>1.7.0</version>
+ <url>http://jakarta.apache.org/commons/beanutils/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>castor</id>
+ <version>0.9.9.1-xml</version>
+ <url>http://www.castor.org</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+
+ <dependency>
+ <id>xdoclet</id>
+ <version>1.2.3</version>
+ <url>http://xdoclet.sourceforge.net</url>
+ <properties>
+ <war.bundle.jar>false</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <!-- ControlTier common lib -->
+ <dependency>
+ <id>ctier-common</id>
+ <version>3.6.1</version>
+ <url>http://open.controltier.com/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <!-- ControlTier common vocab lib -->
+ <dependency>
+ <id>ctier-common-vocabulary</id>
+ <version>3.6.1</version>
+ <url>http://open.controltier.com/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>commons-logging</id>
+ <version>1.1</version>
+ <url>http://jakarta.apache.org/commons/logging</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>bcel</id>
+ <version>5.2</version>
+ <url>http://jakarta.apache.org/bcel/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <!-- ant-contrib-build is the same as ant-contrib but only for
+ verifydesign phase of build, it breaks junit if we deploy it to ant
+ -->
+ <dependency>
+ <id>ant-contrib</id>
+ <version>1.0b3</version>
+ <url>http://ant-contrib.sourceforge.net/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <!-- when we start testing -->
+ <dependency>
+ <id>junit</id>
+ <version>3.8.1</version>
+ <url>http://www.junit.org/</url>
+ <properties>
+ <war.bundle.jar>false</war.bundle.jar>
+ </properties>
+ </dependency>
+
+
+ <!-- needed in compile and runtime of ant tasks -->
+ <dependency>
+ <id>apache-ant</id>
+ <version>1.8.1</version>
+ <properties>
+ <war.bundle.jar>false</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <!-- needed in compile and runtime of ant tasks -->
+ <dependency>
+ <id>ant-apache-oro</id>
+ <version>1.8.1</version>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jakarta-oro</id>
+ <version>2.0.8</version>
+ <url>http://jakarta.apache.org/oro/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <!-- needed at ant runtime for testing -->
+ <dependency>
+ <id>ant-launcher</id>
+ <version>1.8.1</version>
+ <url>http://ant.apache.org/</url>
+ <properties>
+ <war.bundle.jar>false</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <!-- needed in compile and runtime of ant tasks -->
+ <dependency>
+ <id>fop</id>
+ <version>0.20.5</version>
+ <url>http://xml.apache.org/fop/</url>
+ <properties>
+ <war.bundle.jar>false</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <!-- logging for debug, error, etc -->
+ <dependency>
+ <id>log4j</id>
+ <version>1.2.14</version>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jaxen</id>
+ <version>1.1</version>
+ <url>http://jaxen.org/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>commons-httpclient</id>
+ <version>3.0.1</version>
+ <url>http://jakarta.apache.org/commons/httpclient/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jdom</id>
+ <version>1.0</version>
+ <url>http://jakarta.apache.org/slide/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jakarta-slide-ant-webdav</id>
+ <version>2.2pre1-svn-518395-p3</version>
+ <url>http://jakarta.apache.org/slide/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jakarta-slide-webdavlib</id>
+ <version>2.2pre1-svn-518395</version>
+ <url>http://jakarta.apache.org/slide/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>commons-collections</id>
+ <version>3.2</version>
+ <url>http://jakarta.apache.org/commons/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jena</id>
+ <version>2.4</version>
+ <url>http://www.hpl.hp.com/semweb/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jena-icu4j</id>
+ <version>3.4</version>
+ <url>http://oss.software.ibm.com/icu4j/download/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jena-iri</id>
+ <version>2.4</version>
+ <url>http://jena.sourceforge.net/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jena-arq</id>
+ <version>2.4</version>
+ <url>http://jena.sourceforge.net/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>stax-api</id>
+ <version>1.0</version>
+ <url>http://woodstox.codehaus.org/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>wstx-asl</id>
+ <version>2.8</version>
+ <url>http://woodstox.codehaus.org/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>json</id>
+ <version>jena2.4-dist</version>
+ <url>http://json.org/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>jena-antlr</id>
+ <version>2.7.5</version>
+ <url>http://www.hpl.hp.com/semweb/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>xml-apis</id>
+ <version>2.7.1</version>
+ <url>http://www.hpl.hp.com/semweb/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>concurrent</id>
+ <version>1.3.4</version>
+ <url>http://www.hpl.hp.com/semweb/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>xerces</id>
+ <version>2.7.1</version>
+ <url>http://xml.apache.org/xerces-j/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>dom4j</id>
+ <version>1.6.1</version>
+ <url>http://www.dom4j.org/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+
+ <dependency>
+ <id>regexp</id>
+ <version>1.5</version>
+ <url>http://www.apache.org/</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>commons-cli</id>
+ <version>1.0</version>
+ <url>http://jakarta.apache.org/commons/cli</url>
+ <properties>
+ <war.bundle.jar>false</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <id>thinlet</id>
+ <version>0.9</version>
+ <url>http://thinlet.sourceforge.net</url>
+ <properties>
+ <war.bundle.jar>true</war.bundle.jar>
+ </properties>
+ </dependency>
+
+ </dependencies>
+
+ <!--
+ ** build related environmental info
+ -->
+ <build>
+
+ <defaultGoal>java:compile</defaultGoal>
+
+ <unitTest>
+ <excludes>
+ <exclude>**/AntdepoTest*.java</exclude>
+ <exclude>**/BuildFileTest*.java</exclude>
+ </excludes>
+ </unitTest>
+
+ <!--
+ ** email addr used for unattended builds, currnetly used by maven:gump-descriptor target, when enabled
+ ** currently not used, need to research GUMP!
+ -->
+ <nagEmailAddress>
+ in...@dtosolutions.com
+ </nagEmailAddress>
+
+ <!--
+ ** builds will compile source from this directory on down
+ -->
+ <sourceDirectory>src/java</sourceDirectory>
+
+ <!--
+ ** JUnit testing location
+ <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+ <unitTestSourceDirectory>src/_notest</unitTestSourceDirectory>
+ -->
+ <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
+
+ <!--
+ ** Not defined, perhaps Cactus
+ -->
+ <integrationUnitTestSourceDirectory/>
+
+ <!-- aspect programming such as AspectJ, not enabled in properties -->
+ <aspectSourceDirectory/>
+
+ <!--
+ ** Unit tests for JUnit Framework only
+ <unitTestPatterns>
+ <unitTestPattern>include = **/Test*.java</unitTestPattern>
+ </unitTestPatterns>
+ -->
+ <unitTestPatterns>
+ **/Test*.java
+ </unitTestPatterns>
+
+ <!-- for Cactus framework only -->
+ <integrationUnitTestPatterns/>
+
+ <!--
+ ** Additional jar resources to pkg up, such as property files to ship, etc
+ ** You have to be lucky to get this right, this seems right now
+ <resources>
+ <includes>
+ <include>*.properties</include>
+ </includes>
+ </resources>
+ <resources>
+ <includes>
+ <include>log4j.properties</include>
+ </includes>
+ </resources>
+ -->
+
+
+ <!--
+ ** not documented well, perhaps addtional jars to be packaged within the jar being generated
+ -->
+ <jars>
+ </jars>
+
+ </build>
+
+</project>
Property changes on: branches/controltier-3-6-support/commander/project-nomodules.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.