david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 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 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 7 | # If "local" users have this file on their path, |
| 8 | # that is, in "someDirectory" on the users local path, |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 9 | # then the bash "include source" function will find that version |
| 10 | # first, instead of the "standard" eclipse production one. |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 11 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 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 | 673ba39 | 2008-01-02 17:41:13 +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 |
david_williams | 3a43f63 | 2007-12-12 09:42:20 +0000 | [diff] [blame] | 20 | # like most ant project files can. |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 21 | |
| 22 | export BUILD_HOME=/shared/webtools |
| 23 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 24 | # the following does not really vary, but must be specified "early" |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 25 | export RELENG_CONTROL=${BUILD_HOME}/releng.control |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 26 | |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 27 | export DISPLAY=127.0.0.1:1.0 |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 28 | |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 29 | # these should be full, abosolute path to the respective home directories |
| 30 | # on this particular build machine |
| 31 | export ANT_HOME=/shared/webtools/apps/apache-ant-1.7.0 |
| 32 | export JAVA_4_HOME=/shared/webtools/apps/IBMJava2-ppc-142 |
| 33 | export JAVA_5_HOME=/shared/webtools/apps/ibm-java2-ppc-50 |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 34 | |
david_williams | 3908b3d | 2007-12-09 18:55:08 +0000 | [diff] [blame] | 35 | export CCDIR=/shared/webtools/apps/cruisecontrol-bin-2.7.1 |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 36 | |
| 37 | export BASEOS=linux |
| 38 | export BASEWS=gtk |
| 39 | export BASEARCH=ppc |
| 40 | |
| 41 | # no local build properties, for production builds |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 42 | # for local builds, this should be set to a real directory, |
david_williams | 536b595 | 2007-12-09 06:03:17 +0000 | [diff] [blame] | 43 | # so meaningful properties can be set for that local machine. |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 44 | # See the 'localBuildExample' directory for a starting example |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 45 | export LOCAL_BUILD_PROPERTIES_DIR= |
| 46 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 47 | # 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_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 50 | export BUILD_BUILDMASTER_EMAIL=david_williams@us.ibm.com |
| 51 | |
david_williams | 6fbc6e6 | 2008-02-09 01:23:00 +0000 | [diff] [blame] | 52 | export BUILD_BUILDMASTER_RETURN_NAME=david_williams |
david_williams | 10fefcc | 2008-01-09 21:30:40 +0000 | [diff] [blame] | 53 | export BUILD_RESULT_URL=http://build.eclipse.org:7777/dashboard/build/detail |
david_williams | 6afd266 | 2007-08-20 06:43:52 +0000 | [diff] [blame] | 54 | export BUILD_ALWAYS_TO_ADDRESS=david_williams@us.ibm.com |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 55 | export FAILED_ADDRESS=wtp-releng@eclipse.org |
david_williams | d79e500 | 2008-01-30 03:10:08 +0000 | [diff] [blame] | 56 | export BUILD_SUBJECT_PREFIX=WTPBUILD: |
david_williams | 13d378c | 2007-08-22 04:04:54 +0000 | [diff] [blame] | 57 | |
david_williams | 2190252 | 2008-01-30 07:27:35 +0000 | [diff] [blame] | 58 | # note: this file, notifyMapper.properties is not normally in cvs, |
| 59 | # to avoid "publishing" email addresses; but is maintained directly on |
| 60 | # the build server. |
| 61 | export EMAIL_PROPERTIES=${BUILD_HOME}/notification/notifyMapper.properties |
| 62 | |
david_williams | d33d3a0 | 2007-08-22 04:40:40 +0000 | [diff] [blame] | 63 | # controls quietness of logging to console |
| 64 | # false means more output to console, true uses ant's logger |
david_williams | 4332d2a | 2008-01-11 13:05:59 +0000 | [diff] [blame] | 65 | export USE_LOGGER=true |
david_williams | d33d3a0 | 2007-08-22 04:40:40 +0000 | [diff] [blame] | 66 | |
| 67 | #contols ANT's quietness level |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 68 | # true logs error and warnings only |
david_williams | 674a365 | 2008-01-02 08:22:56 +0000 | [diff] [blame] | 69 | export USE_QUIET=false |
david_williams | b25ea8d | 2007-08-22 07:22:55 +0000 | [diff] [blame] | 70 | |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 71 | # controls ANT's debug level |
| 72 | # setting to true will result in TONS of ouput |
david_williams | 4332d2a | 2008-01-11 13:05:59 +0000 | [diff] [blame] | 73 | export USE_DEBUG=true |
david_williams | 4d17cf5 | 2007-11-19 03:27:13 +0000 | [diff] [blame] | 74 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 75 | # should be true for production, false for local. |
| 76 | # it can be set to true for local builds, but then the |
david_williams | 3a43f63 | 2007-12-12 09:42:20 +0000 | [diff] [blame] | 77 | # properties in upload.properties need to be set to valid values. |
david_williams | 17833ec | 2007-12-11 03:21:46 +0000 | [diff] [blame] | 78 | export BUILD_UPLOAD=true |
david_williams | 80a0b0a | 2007-12-11 02:38:34 +0000 | [diff] [blame] | 79 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 80 | # if true, locally existing maps will be used as is, instead of being |
| 81 | # checked out afresh. Set to false for production builds, so maps are |
david_williams | 3a43f63 | 2007-12-12 09:42:20 +0000 | [diff] [blame] | 82 | # always fresh. |
david_williams | 4d17cf5 | 2007-11-19 03:27:13 +0000 | [diff] [blame] | 83 | export USE_LOCAL_MAPS=false |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 84 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 85 | # normally, cvs logging output can be "really quiet", but if problems, then it can be turned back on |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 86 | # to get more potentially diagnostic information |
| 87 | # TODO: if both of these are 'true' and error is generated by cvs ... |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 88 | # saying you can't set both to true. |
| 89 | # we could put in some logic to prevent that, someday. |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 90 | export CVS_QUIET=true |
| 91 | export CVS_REALLY_QUIET=true |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 92 | # these cvs values need to have write access if |
| 93 | # tag.maps is true, as on production machine. |
| 94 | # This is the ID used to both read, and |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 95 | # to tag releng map files. |
| 96 | # |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 97 | # Note: |
| 98 | # 'ext' protocol typically requires |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 99 | # environment variable CVS_RSH to be set to ssh |
| 100 | # So, we just always do it. Can't imagine it'd hurt |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 101 | # if protocol was pserver, but could be removed in that |
| 102 | # case, if desired. |
| 103 | export CVS_RSH=ssh |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 104 | export BUILD_CVS_READ_PROTOCOL=pserver |
| 105 | export BUILD_CVS_READ_USER=anonymous |
| 106 | export BUILD_CVS_WRITE_PROTOCOL=ext |
| 107 | export BUILD_CVS_WRITE_USER=david_williams |
| 108 | export BUILD_CVS_SERVER=dev.eclipse.org |
| 109 | |
| 110 | export BUILD_CVS_ROOT=/cvsroot/webtools |
| 111 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 112 | # for builds on local machines, SKIPUSERS should be 'true' to avoid |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 113 | # notifying users about those builds on your local machine |
| 114 | export SKIPUSERS=false |
david_williams | bd17e9e | 2008-01-20 05:05:16 +0000 | [diff] [blame] | 115 | |
| 116 | export DOWNLOAD_ROOT=/home/data/httpd/download.eclipse.org |
david_williams | 2171a5b | 2008-02-10 08:15:08 +0000 | [diff] [blame] | 117 | |
david_williams | d82102c | 2008-02-10 17:26:21 +0000 | [diff] [blame] | 118 | # Only temporarily true for production builds. Post M5, will be false |
| 119 | # for production builds. Should always be false (mostly likely) for |
| 120 | # "local" builds. |
| 121 | # TODO we need to work into cc_config as well ... so signing is |
| 122 | # always skipped for 2.0 based builds. |
david_williams | 7093484 | 2008-02-10 08:22:16 +0000 | [diff] [blame] | 123 | export SKIP_JAR_SIGNING=true |
david_williams | 0be0d97 | 2008-02-16 05:38:57 +0000 | [diff] [blame] | 124 | |
| 125 | export REMOTE_SSH_COMMAND="ssh david_williams@build.eclipse.org " |