blob: 4373c705f650bd8aec928bf65e2ded7086017542 [file] [log] [blame]
david_williams42f9b242006-11-27 18:45:14 +00001#!/bin/sh
2
david_williams0985c462007-08-29 18:24:10 +00003# If "local" users have this file on their path,
4# that is, in "someDirectory" on the users local path,
5# then the bash "include source" function will find that version
6# first, instead of the "standard" eclipse production one.
david_williams42f9b242006-11-27 18:45:14 +00007
8# this file is intentionally named "shsource" to denote this is intended to
9# be included in other sh files, with "source" command, not
10# executed on its own.
11
david_williams3a43f632007-12-12 09:42:20 +000012# Some things _have_ to go in this file, instead of being an ant property,
13# since they may be used outside the contect of ant (or, before ant get's started).
14# as one example, anything used directly in the cc_config.xml file has to be
15# provided as environment variable, since it can not import ant property files
16# like most ant project files can.
david_williams42f9b242006-11-27 18:45:14 +000017
18export BUILD_HOME=/shared/webtools
19
20export DISPLAY=127.0.0.1:1.0
21
david_williams0985c462007-08-29 18:24:10 +000022echo "remember to check X virtual frame buffer is running for headless JUnit testing";
23ps -ef | grep Xvfb
24
david_williams842e4192007-12-09 07:44:35 +000025# these should be full, abosolute path to the respective home directories
26# on this particular build machine
27export ANT_HOME=/shared/webtools/apps/apache-ant-1.7.0
28export JAVA_4_HOME=/shared/webtools/apps/IBMJava2-ppc-142
29export JAVA_5_HOME=/shared/webtools/apps/ibm-java2-ppc-50
david_williams3908b3d2007-12-09 18:55:08 +000030export CCDIR=/shared/webtools/apps/cruisecontrol-bin-2.7.1
david_williams42f9b242006-11-27 18:45:14 +000031
32export BASEOS=linux
33export BASEWS=gtk
34export BASEARCH=ppc
35
36# no local build properties, for production builds
david_williams536b5952007-12-09 06:03:17 +000037# for local builds, this should be set to a real directory,
38# so meaningful properties can be set for that local machine.
david_williams842e4192007-12-09 07:44:35 +000039# See the 'localBuildExample' directory for a starting example
david_williams42f9b242006-11-27 18:45:14 +000040export LOCAL_BUILD_PROPERTIES_DIR=
41
david_williams42f9b242006-11-27 18:45:14 +000042export BUILD_BUILDMASTER_EMAIL=wtpBuild@eclipse.org
david_williams6afd2662007-08-20 06:43:52 +000043export BUILD_RETURN_NAME=wtpBuild
david_williamsa33db8f2006-11-27 23:36:51 +000044export BUILD_RESULT_URL=http://build.eclipse.org:7777/cruisecontrol/buildresults
david_williams6afd2662007-08-20 06:43:52 +000045export BUILD_ALWAYS_TO_ADDRESS=david_williams@us.ibm.com
david_williams42f9b242006-11-27 18:45:14 +000046
david_williams2a12be02007-07-20 03:56:35 +000047# for builds on local machines, SKIPUSERS should be 'true' to avoid
48# notifying users about those builds on your local machine
david_williams13d378c2007-08-22 04:04:54 +000049export SKIPUSERS=false
50
david_williamsd33d3a02007-08-22 04:40:40 +000051# controls quietness of logging to console
52# false means more output to console, true uses ant's logger
david_williams0985c462007-08-29 18:24:10 +000053export USE_LOGGER=false
david_williamsd33d3a02007-08-22 04:40:40 +000054
55#contols ANT's quietness level
56# true logs error and warnings only
david_williams0985c462007-08-29 18:24:10 +000057export USE_QUIET=false
david_williamsb25ea8d2007-08-22 07:22:55 +000058
david_williams0985c462007-08-29 18:24:10 +000059# controls ANT's debug level
60# setting to true will result in TONS of ouput
david_williamsb25ea8d2007-08-22 07:22:55 +000061export USE_DEBUG=false
david_williams4d17cf52007-11-19 03:27:13 +000062
david_williams3a43f632007-12-12 09:42:20 +000063# should be true for production, false for local.
64# it can be set to true for local builds, but then the
65# properties in upload.properties need to be set to valid values.
david_williams17833ec2007-12-11 03:21:46 +000066export BUILD_UPLOAD=true
david_williams80a0b0a2007-12-11 02:38:34 +000067
68# if true, locally existing maps will be used as is, instead of being
david_williams3a43f632007-12-12 09:42:20 +000069# checked out afresh. Set to false for production builds, so maps are
70# always fresh.
david_williams4d17cf52007-11-19 03:27:13 +000071export USE_LOCAL_MAPS=false
david_williams842e4192007-12-09 07:44:35 +000072
73# normally, cvs logging output can be "really quiet", but if problems, then it can be turned back on
74# to get more potentially diagnostic information
75# TODO: if both of these are 'true' and error is generated by cvs ...
76# saying you can't set both to true.
77# we could put in some logic to prevent that, someday.
78export CVS_QUIET=false
79export CVS_REALLY_QUIET=false
80# these cvs values need to have write access if
81# build.trial is false, as on production machine.
82# This is the ID used to both read, and
83# to tag releng map files.
84#
85# Note:
86# 'ext' protocol typically requires
87# environment variable CVS_RSH to be set to ssh
88# So, we just always do it. Can't imagine it'd hurt
89# if protocol was pserver, but could be removed in that
90# case, if desired.
91export CVS_RSH=ssh
92export WTP_CVS_PROTOCOL=ext
93export WTP_CVS_USER=david_williams
94export WTP_CVS_SERVER=dev.eclipse.org
95export WTP_CVS_ROOT=/cvsroot/webtools