blob: 8d6ee5e3ccdc3c4cd15f493952e0254377f2feb5 [file] [log] [blame]
david_williams42f9b242006-11-27 18:45:14 +00001#!/bin/sh
2
david_williams2e0afe02008-01-02 04:11:40 +00003# 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.
6
david_williams673ba392008-01-02 17:41:13 +00007# If "local" users have this file on their path,
8# that is, in "someDirectory" on the users local path,
david_williams0985c462007-08-29 18:24:10 +00009# then the bash "include source" function will find that version
10# first, instead of the "standard" eclipse production one.
david_williams42f9b242006-11-27 18:45:14 +000011
david_williams673ba392008-01-02 17:41:13 +000012# 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_williams673ba392008-01-02 17:41:13 +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
david_williams3a43f632007-12-12 09:42:20 +000020# like most ant project files can.
david_williams42f9b242006-11-27 18:45:14 +000021
22export BUILD_HOME=/shared/webtools
23
david_williams673ba392008-01-02 17:41:13 +000024# the following does not really vary, but must be specified "early"
david_williams2e0afe02008-01-02 04:11:40 +000025export RELENG_CONTROL=${BUILD_HOME}/releng.control
david_williams42f9b242006-11-27 18:45:14 +000026
david_williams2e0afe02008-01-02 04:11:40 +000027export DISPLAY=127.0.0.1:1.0
david_williams0985c462007-08-29 18:24:10 +000028
david_williams842e4192007-12-09 07:44:35 +000029# these should be full, abosolute path to the respective home directories
30# on this particular build machine
31export ANT_HOME=/shared/webtools/apps/apache-ant-1.7.0
32export JAVA_4_HOME=/shared/webtools/apps/IBMJava2-ppc-142
33export JAVA_5_HOME=/shared/webtools/apps/ibm-java2-ppc-50
david_williams2e0afe02008-01-02 04:11:40 +000034
david_williams3908b3d2007-12-09 18:55:08 +000035export CCDIR=/shared/webtools/apps/cruisecontrol-bin-2.7.1
david_williams42f9b242006-11-27 18:45:14 +000036
37export BASEOS=linux
38export BASEWS=gtk
39export BASEARCH=ppc
40
41# no local build properties, for production builds
david_williams673ba392008-01-02 17:41:13 +000042# for local builds, this should be set to a real directory,
david_williams536b5952007-12-09 06:03:17 +000043# so meaningful properties can be set for that local machine.
david_williams842e4192007-12-09 07:44:35 +000044# See the 'localBuildExample' directory for a starting example
david_williams42f9b242006-11-27 18:45:14 +000045export LOCAL_BUILD_PROPERTIES_DIR=
46
david_williams673ba392008-01-02 17:41:13 +000047# note: buildmaster email address should be "real" address
48# that is subscribed to the mailing list, if you want to send
49# mail to mailing list.
david_williams2e0afe02008-01-02 04:11:40 +000050export BUILD_BUILDMASTER_EMAIL=david_williams@us.ibm.com
51
52export BUILD_BUILDMASTER_RETURN_NAME=wtpBuild
david_williamsa33db8f2006-11-27 23:36:51 +000053export BUILD_RESULT_URL=http://build.eclipse.org:7777/cruisecontrol/buildresults
david_williams6afd2662007-08-20 06:43:52 +000054export BUILD_ALWAYS_TO_ADDRESS=david_williams@us.ibm.com
david_williams2e0afe02008-01-02 04:11:40 +000055export FAILED_ADDRESS=wtp-releng@eclipse.org
david_williams13d378c2007-08-22 04:04:54 +000056
david_williamsd33d3a02007-08-22 04:40:40 +000057# controls quietness of logging to console
58# false means more output to console, true uses ant's logger
david_williams674a3652008-01-02 08:22:56 +000059export USE_LOGGER=false
david_williamsd33d3a02007-08-22 04:40:40 +000060
61#contols ANT's quietness level
david_williams673ba392008-01-02 17:41:13 +000062# true logs error and warnings only
david_williams674a3652008-01-02 08:22:56 +000063export USE_QUIET=false
david_williamsb25ea8d2007-08-22 07:22:55 +000064
david_williams0985c462007-08-29 18:24:10 +000065# controls ANT's debug level
66# setting to true will result in TONS of ouput
david_williamsb25ea8d2007-08-22 07:22:55 +000067export USE_DEBUG=false
david_williams4d17cf52007-11-19 03:27:13 +000068
david_williams673ba392008-01-02 17:41:13 +000069# should be true for production, false for local.
70# it can be set to true for local builds, but then the
david_williams3a43f632007-12-12 09:42:20 +000071# properties in upload.properties need to be set to valid values.
david_williams17833ec2007-12-11 03:21:46 +000072export BUILD_UPLOAD=true
david_williams80a0b0a2007-12-11 02:38:34 +000073
david_williams673ba392008-01-02 17:41:13 +000074# if true, locally existing maps will be used as is, instead of being
75# checked out afresh. Set to false for production builds, so maps are
david_williams3a43f632007-12-12 09:42:20 +000076# always fresh.
david_williams4d17cf52007-11-19 03:27:13 +000077export USE_LOCAL_MAPS=false
david_williams842e4192007-12-09 07:44:35 +000078
david_williams673ba392008-01-02 17:41:13 +000079# normally, cvs logging output can be "really quiet", but if problems, then it can be turned back on
david_williams842e4192007-12-09 07:44:35 +000080# to get more potentially diagnostic information
81# TODO: if both of these are 'true' and error is generated by cvs ...
david_williams673ba392008-01-02 17:41:13 +000082# saying you can't set both to true.
83# we could put in some logic to prevent that, someday.
david_williams2e0afe02008-01-02 04:11:40 +000084export CVS_QUIET=true
85export CVS_REALLY_QUIET=true
david_williams673ba392008-01-02 17:41:13 +000086# these cvs values need to have write access if
87# tag.maps is true, as on production machine.
88# This is the ID used to both read, and
david_williams842e4192007-12-09 07:44:35 +000089# to tag releng map files.
90#
david_williams673ba392008-01-02 17:41:13 +000091# Note:
92# 'ext' protocol typically requires
david_williams842e4192007-12-09 07:44:35 +000093# environment variable CVS_RSH to be set to ssh
94# So, we just always do it. Can't imagine it'd hurt
david_williams673ba392008-01-02 17:41:13 +000095# if protocol was pserver, but could be removed in that
96# case, if desired.
97export CVS_RSH=ssh
david_williams2e0afe02008-01-02 04:11:40 +000098export BUILD_CVS_READ_PROTOCOL=pserver
99export BUILD_CVS_READ_USER=anonymous
100export BUILD_CVS_WRITE_PROTOCOL=ext
101export BUILD_CVS_WRITE_USER=david_williams
102export BUILD_CVS_SERVER=dev.eclipse.org
103
104export BUILD_CVS_ROOT=/cvsroot/webtools
105
david_williams673ba392008-01-02 17:41:13 +0000106# for builds on local machines, SKIPUSERS should be 'true' to avoid
david_williams2e0afe02008-01-02 04:11:40 +0000107# notifying users about those builds on your local machine
108export SKIPUSERS=false