david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 3 | # 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_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 7 | |
| 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 | |
| 12 | |
| 13 | export BUILD_HOME=/shared/webtools |
| 14 | |
| 15 | export DISPLAY=127.0.0.1:1.0 |
| 16 | |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 17 | echo "remember to check X virtual frame buffer is running for headless JUnit testing"; |
| 18 | ps -ef | grep Xvfb |
| 19 | |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 20 | # these should be full, abosolute path to the respective home directories |
| 21 | # on this particular build machine |
| 22 | export ANT_HOME=/shared/webtools/apps/apache-ant-1.7.0 |
| 23 | export JAVA_4_HOME=/shared/webtools/apps/IBMJava2-ppc-142 |
| 24 | export JAVA_5_HOME=/shared/webtools/apps/ibm-java2-ppc-50 |
david_williams | 3908b3d | 2007-12-09 18:55:08 +0000 | [diff] [blame] | 25 | export CCDIR=/shared/webtools/apps/cruisecontrol-bin-2.7.1 |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 26 | |
| 27 | export BASEOS=linux |
| 28 | export BASEWS=gtk |
| 29 | export BASEARCH=ppc |
| 30 | |
| 31 | # no local build properties, for production builds |
david_williams | 536b595 | 2007-12-09 06:03:17 +0000 | [diff] [blame] | 32 | # for local builds, this should be set to a real directory, |
| 33 | # so meaningful properties can be set for that local machine. |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 34 | # See the 'localBuildExample' directory for a starting example |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 35 | export LOCAL_BUILD_PROPERTIES_DIR= |
| 36 | |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 37 | export BUILD_BUILDMASTER_EMAIL=wtpBuild@eclipse.org |
david_williams | 6afd266 | 2007-08-20 06:43:52 +0000 | [diff] [blame] | 38 | export BUILD_RETURN_NAME=wtpBuild |
david_williams | a33db8f | 2006-11-27 23:36:51 +0000 | [diff] [blame] | 39 | export BUILD_RESULT_URL=http://build.eclipse.org:7777/cruisecontrol/buildresults |
david_williams | 6afd266 | 2007-08-20 06:43:52 +0000 | [diff] [blame] | 40 | export BUILD_ALWAYS_TO_ADDRESS=david_williams@us.ibm.com |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 41 | |
david_williams | 2a12be0 | 2007-07-20 03:56:35 +0000 | [diff] [blame] | 42 | # for builds on local machines, SKIPUSERS should be 'true' to avoid |
| 43 | # notifying users about those builds on your local machine |
david_williams | 13d378c | 2007-08-22 04:04:54 +0000 | [diff] [blame] | 44 | export SKIPUSERS=false |
| 45 | |
david_williams | d33d3a0 | 2007-08-22 04:40:40 +0000 | [diff] [blame] | 46 | # controls quietness of logging to console |
| 47 | # false means more output to console, true uses ant's logger |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 48 | export USE_LOGGER=false |
david_williams | d33d3a0 | 2007-08-22 04:40:40 +0000 | [diff] [blame] | 49 | |
| 50 | #contols ANT's quietness level |
| 51 | # true logs error and warnings only |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 52 | export USE_QUIET=false |
david_williams | b25ea8d | 2007-08-22 07:22:55 +0000 | [diff] [blame] | 53 | |
david_williams | 0985c46 | 2007-08-29 18:24:10 +0000 | [diff] [blame] | 54 | # controls ANT's debug level |
| 55 | # setting to true will result in TONS of ouput |
david_williams | b25ea8d | 2007-08-22 07:22:55 +0000 | [diff] [blame] | 56 | export USE_DEBUG=false |
david_williams | 4d17cf5 | 2007-11-19 03:27:13 +0000 | [diff] [blame] | 57 | |
| 58 | export USE_LOCAL_MAPS=false |
david_williams | 842e419 | 2007-12-09 07:44:35 +0000 | [diff] [blame] | 59 | |
| 60 | # normally, cvs logging output can be "really quiet", but if problems, then it can be turned back on |
| 61 | # to get more potentially diagnostic information |
| 62 | # TODO: if both of these are 'true' and error is generated by cvs ... |
| 63 | # saying you can't set both to true. |
| 64 | # we could put in some logic to prevent that, someday. |
| 65 | export CVS_QUIET=false |
| 66 | export CVS_REALLY_QUIET=false |
| 67 | # these cvs values need to have write access if |
| 68 | # build.trial is false, as on production machine. |
| 69 | # This is the ID used to both read, and |
| 70 | # to tag releng map files. |
| 71 | # |
| 72 | # Note: |
| 73 | # 'ext' protocol typically requires |
| 74 | # environment variable CVS_RSH to be set to ssh |
| 75 | # So, we just always do it. Can't imagine it'd hurt |
| 76 | # if protocol was pserver, but could be removed in that |
| 77 | # case, if desired. |
| 78 | export CVS_RSH=ssh |
| 79 | export WTP_CVS_PROTOCOL=ext |
| 80 | export WTP_CVS_USER=david_williams |
| 81 | export WTP_CVS_SERVER=dev.eclipse.org |
| 82 | export WTP_CVS_ROOT=/cvsroot/webtools |