blob: 33e425de3d2d92436274c1a8cd5ca0ef65cbde39 [file] [log] [blame]
david_williams42f9b242006-11-27 18:45:14 +00001#!/bin/sh
3# This particular file is not used in production builds,
4# though there is a similar one (with same name) in main
5# directory that is.
7# If "local" users have this file on their path,
8# that is, in "someDirectory" on the users local path,
9# then the bash "include source" function will find that version
david_williams0985c462007-08-29 18:24:10 +000010# first, instead of the "standard" eclipse production one.
12# this file is intentionally named "shsource" to denote this is intended to
13# be included in other sh files, with "source" command, not
14# executed on its own.
david_williams42f9b242006-11-27 18:45:14 +000015
david_williamsd4b1fd32008-01-02 04:16:52 +000016# Some things _have_ to go in this file, instead of being an ant property,
17# since they may be used outside the contect of ant (or, before ant get's started).
18# as one example, anything used directly in the cc_config.xml file has to be
19# provided as environment variable, since it can not import ant property files
20# like most ant project files can.
david_williams42f9b242006-11-27 18:45:14 +000022export BUILD_HOME=/home/shared/webtools
david_williamsd4b1fd32008-01-02 04:16:52 +000024# the following does not really vary, but must be specified "early"
25export RELENG_CONTROL=${BUILD_HOME}/releng.control
david_williams42f9b242006-11-27 18:45:14 +000026
david_williamsd4b1fd32008-01-02 04:16:52 +000027export DISPLAY=
david_williams8e9278a2007-03-14 06:45:16 +000028
david_williams81308762007-12-10 02:26:07 +000029# these should be full, abosolute path to the respective home directories
30# on this particular build machine
david_williamsd4b1fd32008-01-02 04:16:52 +000031export ANT_HOME=/home/shared/webtools/apps/apache-ant-1.7.0
david_williams261b3452008-01-05 05:15:50 +000032
33export JAVA_4_HOME=/home/shared/webtools/apps/IBMJava2-142
34export JAVA_5_HOME=/home/shared/webtools/apps/ibm-java2-i386-50
david_williams3d32c692008-09-20 02:22:32 +000035export JAVA_6_HOME=/home/shared/webtools/apps/ibm-java-i386-60
david_williams261b3452008-01-05 05:15:50 +000036
37#export JAVA_4_HOME=/home/shared/webtools/apps/j2sdk1.4.2_15
38#export JAVA_5_HOME=/home/shared/webtools/apps/jdk1.5.0_12
david_williamsd4b1fd32008-01-02 04:16:52 +000039
david_williamsdb7f34d2008-05-03 07:45:23 +000040export CCDIR=/home/shared/webtools/apps/cruisecontrol-bin-2.7.2
david_williams81308762007-12-10 02:26:07 +000041
david_williams261b3452008-01-05 05:15:50 +000042
david_williams42f9b242006-11-27 18:45:14 +000045export BASEOS=linux
46export BASEWS=gtk
47export BASEARCH=x86
david_williams81308762007-12-10 02:26:07 +000049# no local build properties, for production builds
50# for local builds, this should be set to a real directory,
51# so meaningful properties can be set for that local machine.
52# See the 'localBuildExample' directory for a starting example
david_williams42f9b242006-11-27 18:45:14 +000053export LOCAL_BUILD_PROPERTIES_DIR=${BUILD_HOME}/localBuildProperties
david_williamsd4b1fd32008-01-02 04:16:52 +000055# note: buildmaster email address should be "real" address
56# that is subscribed to the mailing list, if you want to send
57# mail to mailing list.
david_williams10fefcc2008-01-09 21:30:40 +000061export BUILD_RESULT_URL=
david_williams6afd2662007-08-20 06:43:52 +000062export
david_williamsd79e5002008-01-30 03:10:08 +000063export
64export BUILD_SUBJECT_PREFIX=dw-build:
david_williams13d378c2007-08-22 04:04:54 +000065
david_williamsd33d3a02007-08-22 04:40:40 +000066# controls quietness of logging to console
67# false means more output to console, true uses ant's logger
david_williamsd4b1fd32008-01-02 04:16:52 +000068export USE_LOGGER=true
david_williamsd33d3a02007-08-22 04:40:40 +000069
david_williams261b3452008-01-05 05:15:50 +000070#contols ANT's quietness level
david_williams0985c462007-08-29 18:24:10 +000071# true logs error and warnings only
david_williamsd4b1fd32008-01-02 04:16:52 +000072export USE_QUIET=true
david_williamse8a8ced2007-08-22 04:40:41 +000073
74# controls ANT's debug level
75# setting to true will result in TONS of ouput
76export USE_DEBUG=false
david_williamsd4b1fd32008-01-02 04:16:52 +000078# should be true for production, false for local.
79# it can be set to true for local builds, but then the
80# properties in need to be set to valid values.
81export BUILD_UPLOAD=true
david_williams81308762007-12-10 02:26:07 +000083# normally, cvs logging output can be "really quiet", but if problems, then it can be turned back on
84# to get more potentially diagnostic information
85# TODO: if both of these are 'true' and error is generated by cvs ...
86# saying you can't set both to true.
87# we could put in some logic to prevent that, someday.
david_williamsd4b1fd32008-01-02 04:16:52 +000088export CVS_QUIET=true
89export CVS_REALLY_QUIET=true
david_williams81308762007-12-10 02:26:07 +000090# these cvs values need to have write access if
david_williamsd4b1fd32008-01-02 04:16:52 +000091# tag.maps is true, as on production machine.
david_williams81308762007-12-10 02:26:07 +000092# This is the ID used to both read, and
93# to tag releng map files.
95# Note:
96# 'ext' protocol typically requires
97# environment variable CVS_RSH to be set to ssh
98# So, we just always do it. Can't imagine it'd hurt
99# if protocol was pserver, but could be removed in that
100# case, if desired.
101export CVS_RSH=ssh
david_williamsd4b1fd32008-01-02 04:16:52 +0000102export BUILD_CVS_READ_PROTOCOL=pserver
103export BUILD_CVS_READ_USER=anonymous
105export BUILD_CVS_WRITE_USER=david_williams
107export BUILD_CVS_ROOT=/cvsroot/webtools
109# for builds on local machines, SKIPUSERS should be 'true' to avoid
110# notifying users about those builds on your local machine
111export SKIPUSERS=true
david_williamsbd17e9e2008-01-20 05:05:16 +0000113export DOWNLOAD_ROOT=/var/www/html/buildhome/
david_williams0be0d972008-02-16 05:38:57 +0000114
115# normally not required. Only required if build machine or user, and download machine or user are not the same