You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2006/11/16 04:18:22 UTC
svn commit: r475554 - in /ant/build/trunk: setup.sh vmbuild.conf
Author: antoine
Date: Wed Nov 15 19:18:22 2006
New Revision: 475554
URL: http://svn.apache.org/viewvc?view=rev&rev=475554
Log:
new files to setup the ant nightlies
Added:
ant/build/trunk/setup.sh
ant/build/trunk/vmbuild.conf
Added: ant/build/trunk/setup.sh
URL: http://svn.apache.org/viewvc/ant/build/trunk/setup.sh?view=auto&rev=475554
==============================================================================
--- ant/build/trunk/setup.sh (added)
+++ ant/build/trunk/setup.sh Wed Nov 15 19:18:22 2006
@@ -0,0 +1,32 @@
+#!/bin/sh
+#==============================================================================
+# Wrapper for commons_nightly.sh
+# Updates build script, sets up environment, executes and pipes output to log
+#==============================================================================
+
+# Set up Java environment
+export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
+
+# Set Path
+export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:$HOME/bin:$JAVA_HOME/bin
+cd $HOME
+if [ $# -eq 0 ]
+then
+ echo "A configuration file must be supplied"
+ exit 1
+else
+ config=$1
+fi
+
+if [ -e $config ]
+then
+ source $config
+else
+ echo "Failed to find the config file ${config}"
+ exit 1
+fi
+svn co $ant_svn $ant_root
+svn co $antlibs_svn $antlibs_root
+svn co $sandbox_svn $sandbox_root
+svn co $nighly_list_svn $nightly_list_location
+
Added: ant/build/trunk/vmbuild.conf
URL: http://svn.apache.org/viewvc/ant/build/trunk/vmbuild.conf?view=auto&rev=475554
==============================================================================
--- ant/build/trunk/vmbuild.conf (added)
+++ ant/build/trunk/vmbuild.conf Wed Nov 15 19:18:22 2006
@@ -0,0 +1,29 @@
+#==============================================================================
+# Configuration
+#==============================================================================
+# Notes: 1) Path specifications are absolute
+# 2) $deploy_user must have an ssh key on the build host that is
+# authorized on the $deploy_host
+#==============================================================================
+ant_root="/home/antoine/ant-core" # local ant sandbox
+ant_svn='http://svn.apache.org/repos/asf/ant/core/trunk'
+antlibs_root="/home/antoine/antlibs" # local antlibs sandbox
+antlibs_svn='http://svn.apache.org/repos/asf/ant/antlibs/all-trunks'
+sandbox_root="/home/antoine/sandbox" # local antlibs sandbox
+sandbox_svn='http://svn.apache.org/repos/asf/ant/sandbox/all-trunks'
+deploy_host="people.apache.org" # deployment host
+deploy_user="antoine" # user on the deployment host
+# path to component lists
+nightly_list_location="${proper_root}/ant-build"
+nightly_list_svn='http://svn.apache.org/repos/asf/ant/build/trunk'
+# deployment path on $deploy_host
+deploy_location="/x1/www/people.apache.org/builds/ant/nightly"
+log_location="/home/antoine/log" # where to put logs
+report_location="/home/antoine/build_report"
+time_stamp=`date +%Y%m%d` # time stamp in file names
+ant_build="/home/antoine/build" # Ant build directory
+maven_snapshot_host='people.apache.org' # Maven snapshot host
+maven_snapshot_user='antoine'
+maven_snapshot_directory='/www/people.apache.org/repo/m1-snapshot-repository'
+log_url='http://people.apache.org/~antoine/ant-nightlies'
+notification_email='dev@ant.apache.org'
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org