david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 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. |
| 6 | |
| 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_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 10 | # first, instead of the "standard" eclipse production one. |
| 11 | |
| 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_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 15 | |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 16 | # 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. |
| 21 | |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 22 | export BUILD_HOME=/home/shared/webtools |
| 23 | |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 24 | # the following does not really vary, but must be specified "early" |
| 25 | export RELENG_CONTROL=${BUILD_HOME}/releng.control |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 26 | |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 27 | export DISPLAY=127.0.0.1:11.0 |
david_williams | 8e9278a | 2007-03-14 06:45:16 +0000 | [diff] [blame] | 28 | |
david_williams | 8130876 | 2007-12-10 02:26:07 +0000 | [diff] [blame] | 29 | # these should be full, abosolute path to the respective home directories |
| 30 | # on this particular build machine |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 31 | export ANT_HOME=/home/shared/webtools/apps/apache-ant-1.7.0 |
david_williams | 261b345 | 2008-01-05 05:15:50 +0000 | [diff] [blame] | 32 | |
| 33 | export JAVA_4_HOME=/home/shared/webtools/apps/IBMJava2-142 |
| 34 | export JAVA_5_HOME=/home/shared/webtools/apps/ibm-java2-i386-50 |
| 35 | |
| 36 | #export JAVA_4_HOME=/home/shared/webtools/apps/j2sdk1.4.2_15 |
| 37 | #export JAVA_5_HOME=/home/shared/webtools/apps/jdk1.5.0_12 |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 38 | |
david_williams | db7f34d | 2008-05-03 07:45:23 +0000 | [diff] [blame] | 39 | export CCDIR=/home/shared/webtools/apps/cruisecontrol-bin-2.7.2 |
david_williams | 8130876 | 2007-12-10 02:26:07 +0000 | [diff] [blame] | 40 | |
david_williams | 261b345 | 2008-01-05 05:15:50 +0000 | [diff] [blame] | 41 | |
| 42 | |
| 43 | |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 44 | export BASEOS=linux |
| 45 | export BASEWS=gtk |
| 46 | export BASEARCH=x86 |
| 47 | |
david_williams | 8130876 | 2007-12-10 02:26:07 +0000 | [diff] [blame] | 48 | # no local build properties, for production builds |
| 49 | # for local builds, this should be set to a real directory, |
| 50 | # so meaningful properties can be set for that local machine. |
| 51 | # See the 'localBuildExample' directory for a starting example |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 52 | export LOCAL_BUILD_PROPERTIES_DIR=${BUILD_HOME}/localBuildProperties |
| 53 | |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 54 | # note: buildmaster email address should be "real" address |
| 55 | # that is subscribed to the mailing list, if you want to send |
| 56 | # mail to mailing list. |
| 57 | export BUILD_BUILDMASTER_EMAIL=david_williams@us.ibm.com |
| 58 | |
| 59 | export BUILD_BUILDMASTER_RETURN_NAME=davidwAtWork |
david_williams | 10fefcc | 2008-01-09 21:30:40 +0000 | [diff] [blame] | 60 | export BUILD_RESULT_URL=http://davidw.raleigh.ibm.com:7777/dashboard/build/detail |
david_williams | 6afd266 | 2007-08-20 06:43:52 +0000 | [diff] [blame] | 61 | export BUILD_ALWAYS_TO_ADDRESS=david_williams@us.ibm.com |
david_williams | d79e500 | 2008-01-30 03:10:08 +0000 | [diff] [blame] | 62 | export FAILED_ADDRESS=david_williams@us.ibm.com |
| 63 | export BUILD_SUBJECT_PREFIX=dw-build: |
david_williams | 13d378c | 2007-08-22 04:04:54 +0000 | [diff] [blame] | 64 | |
david_williams | d33d3a0 | 2007-08-22 04:40:40 +0000 | [diff] [blame] | 65 | # controls quietness of logging to console |
| 66 | # false means more output to console, true uses ant's logger |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 67 | export USE_LOGGER=true |
david_williams | d33d3a0 | 2007-08-22 04:40:40 +0000 | [diff] [blame] | 68 | |
david_williams | 261b345 | 2008-01-05 05:15:50 +0000 | [diff] [blame] | 69 | #contols ANT's quietness level |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 70 | # true logs error and warnings only |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 71 | export USE_QUIET=true |
david_williams | e8a8ced | 2007-08-22 04:40:41 +0000 | [diff] [blame] | 72 | |
| 73 | # controls ANT's debug level |
| 74 | # setting to true will result in TONS of ouput |
| 75 | export USE_DEBUG=false |
| 76 | |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 77 | # should be true for production, false for local. |
| 78 | # it can be set to true for local builds, but then the |
| 79 | # properties in upload.properties need to be set to valid values. |
| 80 | export BUILD_UPLOAD=true |
| 81 | |
| 82 | # if true, locally existing maps will be used as is, instead of being |
| 83 | # checked out afresh. Set to false for production builds, so maps are |
| 84 | # always fresh. |
| 85 | export USE_LOCAL_MAPS=false |
david_williams | 536b595 | 2007-12-09 06:03:17 +0000 | [diff] [blame] | 86 | |
david_williams | 8130876 | 2007-12-10 02:26:07 +0000 | [diff] [blame] | 87 | # normally, cvs logging output can be "really quiet", but if problems, then it can be turned back on |
| 88 | # to get more potentially diagnostic information |
| 89 | # TODO: if both of these are 'true' and error is generated by cvs ... |
| 90 | # saying you can't set both to true. |
| 91 | # we could put in some logic to prevent that, someday. |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 92 | export CVS_QUIET=true |
| 93 | export CVS_REALLY_QUIET=true |
david_williams | 8130876 | 2007-12-10 02:26:07 +0000 | [diff] [blame] | 94 | # these cvs values need to have write access if |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 95 | # tag.maps is true, as on production machine. |
david_williams | 8130876 | 2007-12-10 02:26:07 +0000 | [diff] [blame] | 96 | # This is the ID used to both read, and |
| 97 | # to tag releng map files. |
| 98 | # |
| 99 | # Note: |
| 100 | # 'ext' protocol typically requires |
| 101 | # environment variable CVS_RSH to be set to ssh |
| 102 | # So, we just always do it. Can't imagine it'd hurt |
| 103 | # if protocol was pserver, but could be removed in that |
| 104 | # case, if desired. |
| 105 | export CVS_RSH=ssh |
david_williams | d4b1fd3 | 2008-01-02 04:16:52 +0000 | [diff] [blame] | 106 | export BUILD_CVS_READ_PROTOCOL=pserver |
| 107 | export BUILD_CVS_READ_USER=anonymous |
| 108 | export BUILD_CVS_WRITE_PROTOCOL=ext |
| 109 | export BUILD_CVS_WRITE_USER=david_williams |
| 110 | export BUILD_CVS_SERVER=dev.eclipse.org |
| 111 | export BUILD_CVS_ROOT=/cvsroot/webtools |
| 112 | |
| 113 | # for builds on local machines, SKIPUSERS should be 'true' to avoid |
| 114 | # notifying users about those builds on your local machine |
| 115 | export SKIPUSERS=true |
| 116 | |
david_williams | bd17e9e | 2008-01-20 05:05:16 +0000 | [diff] [blame] | 117 | export DOWNLOAD_ROOT=/var/www/html/buildhome/ |
david_williams | 0be0d97 | 2008-02-16 05:38:57 +0000 | [diff] [blame] | 118 | |
| 119 | # normally not required. Only required if build machine or user, and download machine or user are not the same |
| 120 | export REMOTE_SSH_COMMAND="" |