You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2015/07/06 23:46:39 UTC
[51/51] [partial] incubator-geode git commit: GEODE-12: Imported
pulse from geode-1.0.0-SNAPSHOT-2.src.tar
GEODE-12: Imported pulse from geode-1.0.0-SNAPSHOT-2.src.tar
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/c4f7ff44
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/c4f7ff44
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/c4f7ff44
Branch: refs/heads/feature/GEODE-12
Commit: c4f7ff44e1ab2b65acc818321c961e7a4fd574a1
Parents: 11d0367
Author: Darrel Schneider <ds...@pivotal.io>
Authored: Mon Jul 6 10:41:48 2015 -0700
Committer: Darrel Schneider <ds...@pivotal.io>
Committed: Mon Jul 6 11:34:55 2015 -0700
----------------------------------------------------------------------
pulse/.classpath | 120 +
pulse/.project | 36 +
pulse/.settings/.jsdtscope | 12 +
pulse/.settings/org.eclipse.jdt.core.prefs | 7 +
.../.settings/org.eclipse.wst.common.component | 9 +
...rg.eclipse.wst.common.project.facet.core.xml | 10 +
.../org.eclipse.wst.jsdt.ui.superType.container | 1 +
.../org.eclipse.wst.jsdt.ui.superType.name | 1 +
pulse/REMOVED_JARS.txt | 31 +
pulse/RNDeltaChanges.txt | 3 +
pulse/build.bat | 50 +
pulse/build.sh | 157 +
pulse/build.xml | 604 +
pulse/buildfiles/dependencies.xml | 6 +
pulse/buildfiles/osplatform.xml | 69 +
pulse/buildfiles/utilities.xml | 33 +
...ource_licenses-Pivotal_GemFire_Pulse_8.0.txt | 1947 ++
...rce_licenses-Pivotal_GemFire_Pulse_8.1.0.txt | 2116 ++
...enses-VMware_vFabric_GemFire_Pulse_7.0.1.txt | 1647 ++
...enses-VMware_vFabric_GemFire_Pulse_7.0.2.txt | 1639 ++
...icenses-VMware_vFabric_GemFire_Pulse_7.0.txt | 1277 ++
...rce_licenses-vFabric_GemFire_Pulse_7.0.0.txt | 1 +
..._licenses-vFabric_GemFire_Pulse_7.0.Beta.txt | 1019 +
pulse/release/docfiles/ReleaseNotes.txt | 2 +
.../tools/pulse/internal/PulseAppListener.java | 693 +
.../controllers/ExceptionHandlingAdvice.java | 42 +
.../internal/controllers/PulseController.java | 581 +
.../tools/pulse/internal/data/Cluster.java | 3802 ++++
.../tools/pulse/internal/data/DataBrowser.java | 274 +
.../pulse/internal/data/IClusterUpdater.java | 27 +
.../pulse/internal/data/JMXDataUpdater.java | 2529 +++
.../pulse/internal/data/JmxManagerFinder.java | 165 +
.../tools/pulse/internal/data/PulseConfig.java | 116 +
.../pulse/internal/data/PulseConstants.java | 406 +
.../tools/pulse/internal/data/PulseVersion.java | 94 +
.../tools/pulse/internal/data/Repository.java | 205 +
.../gemfire/tools/pulse/internal/json/CDL.java | 279 +
.../tools/pulse/internal/json/Cookie.java | 169 +
.../tools/pulse/internal/json/CookieList.java | 90 +
.../gemfire/tools/pulse/internal/json/HTTP.java | 163 +
.../tools/pulse/internal/json/HTTPTokener.java | 77 +
.../tools/pulse/internal/json/JSONArray.java | 906 +
.../pulse/internal/json/JSONException.java | 28 +
.../tools/pulse/internal/json/JSONML.java | 467 +
.../tools/pulse/internal/json/JSONObject.java | 1593 ++
.../tools/pulse/internal/json/JSONString.java | 18 +
.../tools/pulse/internal/json/JSONStringer.java | 78 +
.../tools/pulse/internal/json/JSONTokener.java | 446 +
.../tools/pulse/internal/json/JSONWriter.java | 327 +
.../gemfire/tools/pulse/internal/json/README | 68 +
.../gemfire/tools/pulse/internal/json/XML.java | 508 +
.../tools/pulse/internal/json/XMLTokener.java | 365 +
.../tools/pulse/internal/log/LogWriter.java | 256 +
.../pulse/internal/log/MessageFormatter.java | 93 +
.../pulse/internal/log/PulseLogWriter.java | 296 +
.../tools/pulse/internal/log/PulseLogger.java | 134 +
.../internal/service/ClusterDetailsService.java | 99 +
.../service/ClusterDiskThroughputService.java | 69 +
.../service/ClusterGCPausesService.java | 61 +
.../service/ClusterKeyStatisticsService.java | 69 +
.../internal/service/ClusterMemberService.java | 123 +
.../service/ClusterMembersRGraphService.java | 362 +
.../service/ClusterMemoryUsageService.java | 60 +
.../internal/service/ClusterRegionService.java | 231 +
.../internal/service/ClusterRegionsService.java | 233 +
.../service/ClusterSelectedRegionService.java | 268 +
.../ClusterSelectedRegionsMemberService.java | 139 +
.../internal/service/ClusterWANInfoService.java | 72 +
.../service/MemberAsynchEventQueuesService.java | 97 +
.../internal/service/MemberClientsService.java | 113 +
.../internal/service/MemberDetailsService.java | 119 +
.../service/MemberDiskThroughputService.java | 83 +
.../internal/service/MemberGCPausesService.java | 75 +
.../service/MemberGatewayHubService.java | 153 +
.../service/MemberHeapUsageService.java | 75 +
.../service/MemberKeyStatisticsService.java | 88 +
.../internal/service/MemberRegionsService.java | 130 +
.../internal/service/MembersListService.java | 68 +
.../pulse/internal/service/PulseService.java | 32 +
.../internal/service/PulseServiceFactory.java | 46 +
.../internal/service/PulseVersionService.java | 64 +
.../service/QueryStatisticsService.java | 142 +
.../internal/service/SystemAlertsService.java | 124 +
.../pulse/internal/util/ConnectionUtil.java | 36 +
.../pulse/internal/util/IPAddressUtil.java | 56 +
.../tools/pulse/internal/util/StringUtils.java | 76 +
.../tools/pulse/internal/util/TimeUtils.java | 111 +
.../main/resources/LogMessages_en_US.properties | 78 +
.../main/resources/LogMessages_fr_FR.properties | 72 +
pulse/src/main/resources/NoDataFound1.txt | 1 +
pulse/src/main/resources/NoDataFound2.txt | 35 +
pulse/src/main/resources/NoDataFound3.txt | 6 +
pulse/src/main/resources/default.properties | 4 +
pulse/src/main/resources/gemfire.properties | 28 +
pulse/src/main/resources/message.txt | 1 +
pulse/src/main/resources/pulse-users.properties | 11 +
pulse/src/main/resources/pulse.properties | 35 +
.../src/main/resources/pulsesecurity.properties | 7 +
.../src/main/resources/pulseversion.properties | 14 +
pulse/src/main/resources/sqlfire.properties | 28 +
pulse/src/main/resources/test1.txt | 5 +
pulse/src/main/resources/test2.txt | 7 +
pulse/src/main/resources/test3.txt | 5 +
pulse/src/main/resources/test4.txt | 4 +
pulse/src/main/resources/test5.txt | 7 +
pulse/src/main/resources/test6.txt | 11 +
pulse/src/main/resources/test7.txt | 13 +
.../resources/testNullObjectsAtRootLevel1.txt | 25 +
.../resources/testNullObjectsAtRootLevel2.txt | 30 +
pulse/src/main/resources/testQueryResult.txt | 198 +
.../src/main/resources/testQueryResult1000.txt | 1023 +
.../testQueryResultArrayAndArrayList.txt | 8 +
.../main/resources/testQueryResultArrayList.txt | 6 +
.../resources/testQueryResultArrayOfList.txt | 15 +
.../resources/testQueryResultClusterSmall.txt | 23 +
.../testQueryResultClusterWithStruct.txt | 10 +
.../main/resources/testQueryResultHashMap.txt | 8 +
.../resources/testQueryResultHashMapSmall.txt | 12 +
.../src/main/resources/testQueryResultSmall.txt | 12 +
.../resources/testQueryResultWithStruct.txt | 1744 ++
.../testQueryResultWithStructSmall.txt | 15 +
pulse/src/main/resources/test_pp.txt | 7 +
pulse/src/main/webapp/DataBrowser.html | 350 +
pulse/src/main/webapp/Login.html | 125 +
pulse/src/main/webapp/META-INF/MANIFEST.MF | 3 +
pulse/src/main/webapp/MemberDetails.html | 601 +
pulse/src/main/webapp/QueryStatistics.html | 306 +
.../webapp/WEB-INF/mvc-dispatcher-servlet.xml | 18 +
.../src/main/webapp/WEB-INF/spring-security.xml | 66 +
pulse/src/main/webapp/WEB-INF/web.xml | 45 +
pulse/src/main/webapp/clusterDetail.html | 659 +
pulse/src/main/webapp/css/ForceDirected.css | 27 +
pulse/src/main/webapp/css/RGraph.css | 0
pulse/src/main/webapp/css/Treemap.css | 115 +
.../webapp/css/autocomplete/jsonSuggest.css | 72 +
pulse/src/main/webapp/css/base.css | 55 +
pulse/src/main/webapp/css/common.css | 221 +
.../webapp/css/fonts/DroidSans-Bold-webfont.eot | Bin 0 -> 43462 bytes
.../webapp/css/fonts/DroidSans-Bold-webfont.svg | 251 +
.../webapp/css/fonts/DroidSans-Bold-webfont.ttf | Bin 0 -> 43260 bytes
.../css/fonts/DroidSans-Bold-webfont.woff | Bin 0 -> 27120 bytes
.../main/webapp/css/fonts/DroidSans-webfont.eot | Bin 0 -> 44926 bytes
.../main/webapp/css/fonts/DroidSans-webfont.svg | 251 +
.../main/webapp/css/fonts/DroidSans-webfont.ttf | Bin 0 -> 44712 bytes
.../webapp/css/fonts/DroidSans-webfont.woff | Bin 0 -> 27672 bytes
pulse/src/main/webapp/css/grid/ui.jqgrid.css | 841 +
pulse/src/main/webapp/css/ie/ie.css | 0
pulse/src/main/webapp/css/ie/ie7.css | 2 +
pulse/src/main/webapp/css/ie/ie8.css | 1 +
pulse/src/main/webapp/css/ie/ie9.css | 1 +
pulse/src/main/webapp/css/jquery-ui.css | 566 +
.../src/main/webapp/css/jquery.jscrollpane.css | 121 +
pulse/src/main/webapp/css/jquery.splitter.css | 48 +
pulse/src/main/webapp/css/jquery.ui.all.css | 11 +
pulse/src/main/webapp/css/jquery.ui.core.css | 41 +
pulse/src/main/webapp/css/jquery.ui.theme.css | 247 +
pulse/src/main/webapp/css/jquery.ztreestyle.css | 90 +
.../css/multiselect/jquery.multiselect.css | 295 +
.../main/webapp/css/multiselect/prettify.css | 27 +
pulse/src/main/webapp/css/multiselect/style.css | 16 +
pulse/src/main/webapp/css/popup.css | 36 +
pulse/src/main/webapp/css/style.css | 3048 +++
pulse/src/main/webapp/css/treeView/Treemap.css | 115 +
pulse/src/main/webapp/css/ui.jqgrid.css | 766 +
.../src/main/webapp/images/about-gemfirexd.png | Bin 0 -> 4440 bytes
pulse/src/main/webapp/images/about-sqlfire.png | Bin 0 -> 6277 bytes
pulse/src/main/webapp/images/about.png | Bin 0 -> 4421 bytes
pulse/src/main/webapp/images/acc-minus.png | Bin 0 -> 1049 bytes
pulse/src/main/webapp/images/acc-n-minus.png | Bin 0 -> 961 bytes
pulse/src/main/webapp/images/acc-n-plus.png | Bin 0 -> 988 bytes
pulse/src/main/webapp/images/acc-plus.png | Bin 0 -> 1047 bytes
pulse/src/main/webapp/images/activeServer.png | Bin 0 -> 2846 bytes
pulse/src/main/webapp/images/arrow-down.png | Bin 0 -> 986 bytes
pulse/src/main/webapp/images/arrow-up.png | Bin 0 -> 988 bytes
pulse/src/main/webapp/images/bg-image.png | Bin 0 -> 948 bytes
pulse/src/main/webapp/images/bg-imageLogin.png | Bin 0 -> 946 bytes
pulse/src/main/webapp/images/blue-msg-icon.png | Bin 0 -> 1194 bytes
.../src/main/webapp/images/border-left-grid.png | Bin 0 -> 927 bytes
pulse/src/main/webapp/images/bread-crumb.png | Bin 0 -> 1182 bytes
pulse/src/main/webapp/images/bubble_arrow.png | Bin 0 -> 1168 bytes
pulse/src/main/webapp/images/chart-active.png | Bin 0 -> 1096 bytes
pulse/src/main/webapp/images/chart.png | Bin 0 -> 1095 bytes
pulse/src/main/webapp/images/checkbox.png | Bin 0 -> 1630 bytes
pulse/src/main/webapp/images/chkbox.png | Bin 0 -> 1313 bytes
pulse/src/main/webapp/images/copy_icon.png | Bin 0 -> 1172 bytes
pulse/src/main/webapp/images/correct_icon.png | Bin 0 -> 1143 bytes
.../main/webapp/images/correct_small_icon.png | Bin 0 -> 1065 bytes
.../main/webapp/images/correct_white_icon.png | Bin 0 -> 1122 bytes
pulse/src/main/webapp/images/cross.png | Bin 0 -> 2954 bytes
.../main/webapp/images/dataViewWanEnabled.png | Bin 0 -> 1204 bytes
pulse/src/main/webapp/images/dd_active.png | Bin 0 -> 1065 bytes
pulse/src/main/webapp/images/dd_arrow.png | Bin 0 -> 1058 bytes
.../webapp/images/error-locators-others.png | Bin 0 -> 2052 bytes
pulse/src/main/webapp/images/error-locators.png | Bin 0 -> 2023 bytes
.../images/error-manager-locator-others.png | Bin 0 -> 2067 bytes
.../webapp/images/error-manager-locator.png | Bin 0 -> 2047 bytes
.../webapp/images/error-managers-others.png | Bin 0 -> 2051 bytes
pulse/src/main/webapp/images/error-managers.png | Bin 0 -> 2025 bytes
.../main/webapp/images/error-message-icon.png | Bin 0 -> 1193 bytes
pulse/src/main/webapp/images/error-msg-icon.png | Bin 0 -> 1194 bytes
pulse/src/main/webapp/images/error-others.png | Bin 0 -> 2066 bytes
.../src/main/webapp/images/error-otheruser.png | Bin 0 -> 2002 bytes
.../main/webapp/images/error-status-icon.png | Bin 0 -> 2024 bytes
pulse/src/main/webapp/images/error.png | Bin 0 -> 1110 bytes
pulse/src/main/webapp/images/graph-active.png | Bin 0 -> 1360 bytes
pulse/src/main/webapp/images/graph.png | Bin 0 -> 1374 bytes
.../images/graph/key-statistics-graph.png | Bin 0 -> 1617 bytes
.../webapp/images/graph/memory-usage-graph.png | Bin 0 -> 4366 bytes
pulse/src/main/webapp/images/graph/reads.png | Bin 0 -> 3423 bytes
.../images/graph/throughput-writes-graph.png | Bin 0 -> 4340 bytes
pulse/src/main/webapp/images/graph/topology.png | Bin 0 -> 14997 bytes
pulse/src/main/webapp/images/graph/treeview.png | Bin 0 -> 3386 bytes
pulse/src/main/webapp/images/graph/writes.png | Bin 0 -> 3527 bytes
pulse/src/main/webapp/images/grid-active.png | Bin 0 -> 1095 bytes
pulse/src/main/webapp/images/grid.png | Bin 0 -> 1094 bytes
.../webapp/images/header-bg-bottom-border.png | Bin 0 -> 924 bytes
pulse/src/main/webapp/images/hide_ico.png | Bin 0 -> 3281 bytes
pulse/src/main/webapp/images/history-icon.png | Bin 0 -> 3533 bytes
pulse/src/main/webapp/images/history-remove.png | Bin 0 -> 1185 bytes
.../src/main/webapp/images/hor-spiltter-dot.png | Bin 0 -> 990 bytes
.../webapp/images/icons members/locators.png | Bin 0 -> 3106 bytes
.../images/icons members/locators_others.png | Bin 0 -> 3118 bytes
.../webapp/images/icons members/managers.png | Bin 0 -> 3103 bytes
.../images/icons members/managers_locators.png | Bin 0 -> 3120 bytes
.../images/icons members/managers_others.png | Bin 0 -> 3117 bytes
.../main/webapp/images/icons members/others.png | Bin 0 -> 3102 bytes
pulse/src/main/webapp/images/info-msg-icon.png | Bin 0 -> 1194 bytes
pulse/src/main/webapp/images/lastLine.png | Bin 0 -> 948 bytes
pulse/src/main/webapp/images/line.png | Bin 0 -> 929 bytes
pulse/src/main/webapp/images/mask-bg.png | Bin 0 -> 940 bytes
.../webapp/images/membersName_arror-off.png | Bin 0 -> 1148 bytes
.../main/webapp/images/membersName_arror-on.png | Bin 0 -> 1170 bytes
pulse/src/main/webapp/images/minus.png | Bin 0 -> 2959 bytes
.../webapp/images/normal-locators-others.png | Bin 0 -> 2025 bytes
.../src/main/webapp/images/normal-locators.png | Bin 0 -> 1995 bytes
.../images/normal-manager-locator-others.png | Bin 0 -> 2037 bytes
.../webapp/images/normal-manager-locator.png | Bin 0 -> 2029 bytes
.../webapp/images/normal-managers-others.png | Bin 0 -> 2027 bytes
.../src/main/webapp/images/normal-managers.png | Bin 0 -> 1997 bytes
pulse/src/main/webapp/images/normal-others.png | Bin 0 -> 1988 bytes
.../src/main/webapp/images/normal-otheruser.png | Bin 0 -> 1968 bytes
.../main/webapp/images/normal-status-icon.png | Bin 0 -> 1955 bytes
pulse/src/main/webapp/images/normal.png | Bin 0 -> 1110 bytes
.../src/main/webapp/images/orange-msg-icon.png | Bin 0 -> 1194 bytes
pulse/src/main/webapp/images/pivotal-logo.png | Bin 0 -> 4302 bytes
pulse/src/main/webapp/images/plus.png | Bin 0 -> 1178 bytes
pulse/src/main/webapp/images/plusMinusIcon.png | Bin 0 -> 1192 bytes
pulse/src/main/webapp/images/popup-arrow.png | Bin 0 -> 1075 bytes
.../main/webapp/images/popup-close-button.png | Bin 0 -> 1026 bytes
.../images/pulse-monitoring-gemfirexd-old.png | Bin 0 -> 6606 bytes
.../images/pulse-monitoring-gemfirexd.png | Bin 0 -> 4440 bytes
.../webapp/images/pulse-monitoring-sqlfire.png | Bin 0 -> 6467 bytes
.../src/main/webapp/images/pulse-monitoring.png | Bin 0 -> 4741 bytes
pulse/src/main/webapp/images/radio-off.png | Bin 0 -> 1252 bytes
pulse/src/main/webapp/images/radio-on.png | Bin 0 -> 1306 bytes
pulse/src/main/webapp/images/radio.png | Bin 0 -> 2476 bytes
pulse/src/main/webapp/images/regionIcons.png | Bin 0 -> 1495 bytes
pulse/src/main/webapp/images/rightBorder.png | Bin 0 -> 927 bytes
pulse/src/main/webapp/images/searchIcon.png | Bin 0 -> 1592 bytes
pulse/src/main/webapp/images/seperator.png | Bin 0 -> 929 bytes
pulse/src/main/webapp/images/server.png | Bin 0 -> 1233 bytes
.../webapp/images/severe-locators-others.png | Bin 0 -> 2026 bytes
.../src/main/webapp/images/severe-locators.png | Bin 0 -> 1980 bytes
.../images/severe-manager-locator-others.png | Bin 0 -> 2032 bytes
.../webapp/images/severe-manager-locator.png | Bin 0 -> 2026 bytes
.../webapp/images/severe-managers-others.png | Bin 0 -> 2026 bytes
.../src/main/webapp/images/severe-managers.png | Bin 0 -> 1985 bytes
.../src/main/webapp/images/severe-msg-icon.png | Bin 0 -> 1194 bytes
pulse/src/main/webapp/images/severe-others.png | Bin 0 -> 2007 bytes
.../src/main/webapp/images/severe-otheruser.png | Bin 0 -> 1959 bytes
.../main/webapp/images/severe-status-icon.png | Bin 0 -> 2218 bytes
pulse/src/main/webapp/images/severe.png | Bin 0 -> 1110 bytes
pulse/src/main/webapp/images/show_ico.png | Bin 0 -> 3296 bytes
pulse/src/main/webapp/images/spacer.png | Bin 0 -> 922 bytes
pulse/src/main/webapp/images/sqlfire.png | Bin 0 -> 6467 bytes
pulse/src/main/webapp/images/status-down.png | Bin 0 -> 1125 bytes
pulse/src/main/webapp/images/status-up.png | Bin 0 -> 1104 bytes
pulse/src/main/webapp/images/subServer.png | Bin 0 -> 2201 bytes
pulse/src/main/webapp/images/tab-bottom-bg.png | Bin 0 -> 929 bytes
pulse/src/main/webapp/images/treeView-img.png | Bin 0 -> 962 bytes
.../main/webapp/images/ui-anim_basic_16x16.gif | Bin 0 -> 1459 bytes
.../src/main/webapp/images/ver-spiltter-dot.png | Bin 0 -> 979 bytes
.../webapp/images/warning-locators-others.png | Bin 0 -> 2048 bytes
.../src/main/webapp/images/warning-locators.png | Bin 0 -> 2032 bytes
.../images/warning-manager-locator-others.png | Bin 0 -> 2071 bytes
.../webapp/images/warning-manager-locator.png | Bin 0 -> 2052 bytes
.../webapp/images/warning-managers-others.png | Bin 0 -> 2023 bytes
.../src/main/webapp/images/warning-managers.png | Bin 0 -> 2030 bytes
.../src/main/webapp/images/warning-msg-icon.png | Bin 0 -> 1194 bytes
pulse/src/main/webapp/images/warning-others.png | Bin 0 -> 2027 bytes
.../main/webapp/images/warning-otheruser.png | Bin 0 -> 2010 bytes
.../main/webapp/images/warning-status-icon.png | Bin 0 -> 1714 bytes
pulse/src/main/webapp/images/warning.png | Bin 0 -> 1107 bytes
.../src/main/webapp/images/yellow-msg-icon.png | Bin 0 -> 1194 bytes
pulse/src/main/webapp/index.html | 49 +
.../main/webapp/properties/default.properties | 4 +
.../webapp/properties/default_en.properties | 4 +
.../main/webapp/properties/gemfire.properties | 28 +
.../webapp/properties/gemfire_en.properties | 28 +
.../main/webapp/properties/gemfirexd.properties | 28 +
.../webapp/properties/gemfirexd_en.properties | 28 +
.../src/main/webapp/properties/index.properties | 1 +
.../main/webapp/properties/index_fr.properties | 2 +
.../main/webapp/properties/sqlfire.properties | 28 +
pulse/src/main/webapp/regionDetail.html | 550 +
pulse/src/main/webapp/scripts/lib/common.js | 517 +
pulse/src/main/webapp/scripts/lib/excanvas.js | 1416 ++
.../main/webapp/scripts/lib/grid.locale-en.js | 169 +
pulse/src/main/webapp/scripts/lib/html5.js | 3 +
pulse/src/main/webapp/scripts/lib/jit.js | 17208 +++++++++++++++++
.../src/main/webapp/scripts/lib/jquery-1.7.2.js | 9404 +++++++++
.../webapp/scripts/lib/jquery.generateFile.js | 58 +
.../scripts/lib/jquery.i18n.properties.js | 336 +
.../webapp/scripts/lib/jquery.jqGrid.src.js | 12182 ++++++++++++
.../webapp/scripts/lib/jquery.jscrollpane.js | 1340 ++
.../webapp/scripts/lib/jquery.mousewheel.js | 84 +
.../webapp/scripts/lib/jquery.placeholder.js | 106 +
.../main/webapp/scripts/lib/jquery.sparkline.js | 3001 +++
.../main/webapp/scripts/lib/jquery.tablednd.js | 383 +
.../main/webapp/scripts/lib/jquery.timeago.js | 193 +
.../webapp/scripts/lib/jquery.ztree.core-3.5.js | 1650 ++
.../scripts/lib/jquery.ztree.excheck-3.5.js | 624 +
pulse/src/main/webapp/scripts/lib/tooltip.js | 357 +
.../webapp/scripts/multiselect/jquery-ui.js | 14987 ++++++++++++++
.../scripts/multiselect/jquery.multiselect.js | 816 +
.../main/webapp/scripts/multiselect/prettify.js | 1536 ++
.../webapp/scripts/pulsescript/MemberDetails.js | 1034 +
.../scripts/pulsescript/PulseCallbacks.js | 1724 ++
.../scripts/pulsescript/PulseFunctions.js | 216 +
.../webapp/scripts/pulsescript/clusterDetail.js | 2349 +++
.../scripts/pulsescript/clusterRGraphMembers.js | 1504 ++
.../main/webapp/scripts/pulsescript/common.js | 1615 ++
.../scripts/pulsescript/pages/DataBrowser.js | 651 +
.../pulsescript/pages/DataBrowserQuery.js | 953 +
.../pages/DataBrowserQueryHistory.js | 84 +
.../webapp/scripts/pulsescript/pages/Login.js | 159 +
.../webapp/scripts/pulsescript/pages/index.js | 15 +
.../scripts/pulsescript/queryStatistics.js | 304 +
.../webapp/scripts/pulsescript/regionView.js | 746 +
.../scripts/selectbox-customize/jquery.sb.js | 864 +
.../pulse/testbed/GemFireDistributedSystem.java | 312 +
.../tools/pulse/testbed/GemfireTopology.java | 5 +
.../tools/pulse/testbed/PropFileHelper.java | 104 +
.../pulse/testbed/PropMockDataUpdater.java | 504 +
.../gemfire/tools/pulse/testbed/TestBed.java | 57 +
.../tools/pulse/testbed/driver/PulseUITest.java | 311 +
.../pulse/testbed/driver/TomcatHelper.java | 80 +
.../tools/pulse/tests/AggregateStatement.java | 206 +
.../pulse/tests/AggregateStatementMBean.java | 157 +
.../pulse/tests/DataBrowserResultLoader.java | 73 +
.../pulse/tests/GemFireXDAggregateTable.java | 35 +
.../tests/GemFireXDAggregateTableMBean.java | 17 +
.../tools/pulse/tests/GemFireXDCluster.java | 84 +
.../pulse/tests/GemFireXDClusterMBean.java | 21 +
.../tools/pulse/tests/GemFireXDMember.java | 69 +
.../tools/pulse/tests/GemFireXDMemberMBean.java | 20 +
.../gemfire/tools/pulse/tests/JMXBaseBean.java | 56 +
.../tools/pulse/tests/JMXProperties.java | 36 +
.../gemfire/tools/pulse/tests/Member.java | 178 +
.../gemfire/tools/pulse/tests/MemberMBean.java | 75 +
.../tools/pulse/tests/PulseAutomatedTests.java | 1439 ++
.../tools/pulse/tests/PulseTestData.java | 95 +
.../tools/pulse/tests/PulseTestLocators.java | 210 +
.../gemfire/tools/pulse/tests/PulseTests.java | 2245 +++
.../gemfire/tools/pulse/tests/Region.java | 181 +
.../gemfire/tools/pulse/tests/RegionMBean.java | 48 +
.../tools/pulse/tests/RegionOnMember.java | 73 +
.../tools/pulse/tests/RegionOnMemberMBean.java | 35 +
.../gemfire/tools/pulse/tests/Server.java | 348 +
.../gemfire/tools/pulse/tests/ServerObject.java | 247 +
.../tools/pulse/tests/ServerObjectMBean.java | 66 +
.../gemfire/tools/pulse/tests/TomcatHelper.java | 86 +
.../pulse/tests/junit/BaseServiceTest.java | 231 +
.../junit/ClusterSelectedRegionServiceTest.java | 344 +
...ClusterSelectedRegionsMemberServiceTest.java | 356 +
.../junit/MemberGatewayHubServiceTest.java | 417 +
pulse/src/test/resources/test.properties | 842 +
pulse/src/test/resources/testbed.properties | 138 +
378 files changed, 131650 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/.classpath
----------------------------------------------------------------------
diff --git a/pulse/.classpath b/pulse/.classpath
new file mode 100644
index 0000000..0052fa2
--- /dev/null
+++ b/pulse/.classpath
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/test/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/com.springsource.sts.ide.tomcat.runtimeTarget/VMware vFabric tc Server Developer Edition (Runtime) v2.7">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="lib" path="ext-libs/spring-security-config-3.1.4.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-security-core-3.1.4.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-security-web-3.1.4.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/com.springsource.org.apache.commons.beanutils-1.8.0.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/com.springsource.org.apache.commons.collections-3.2.0.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/com.springsource.org.apache.commons.digester-1.8.1.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/com.springsource.org.apache.commons.logging-1.1.1.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/commons-lang-2.6.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="src/main/resources">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/classes"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/servlet-api-2.5-20081211.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
+ <classpathentry kind="lib" path="ext-libs/selenium-server-standalone-2.41.0.jar"/>
+ <classpathentry kind="var" path="GCM_DIR/where/java/apache-tomcat/7.0.30/ecj-3.7.2.jar"/>
+ <classpathentry kind="var" path="GCM_DIR/where/java/apache-tomcat/7.0.30/tomcat-embed-core.jar"/>
+ <classpathentry kind="var" path="GCM_DIR/where/java/apache-tomcat/7.0.30/tomcat-embed-jasper.jar"/>
+ <classpathentry kind="var" path="GCM_DIR/where/java/apache-tomcat/7.0.30/tomcat-embed-logging-juli.jar"/>
+ <classpathentry kind="lib" path="ext-libs/spring-aop-3.2.9.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-beans-3.2.9.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-context-3.2.9.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-core-3.2.9.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-expression-3.2.9.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-web-3.2.9.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-webmvc-3.2.9.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-ldap-core-1.3.1.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-security-ldap-3.1.4.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="ext-libs/spring-tx-3.0.5.RELEASE.jar">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="output" path="PULSE_OUTPUT/classes"/>
+</classpath>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/.project
----------------------------------------------------------------------
diff --git a/pulse/.project b/pulse/.project
new file mode 100644
index 0000000..7c21b55
--- /dev/null
+++ b/pulse/.project
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Pulse</name>
+ <comment>Pivotal GemFire Monitoring Application</comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/.settings/.jsdtscope
----------------------------------------------------------------------
diff --git a/pulse/.settings/.jsdtscope b/pulse/.settings/.jsdtscope
new file mode 100644
index 0000000..b46b920
--- /dev/null
+++ b/pulse/.settings/.jsdtscope
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/webapp"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/.settings/org.eclipse.jdt.core.prefs
----------------------------------------------------------------------
diff --git a/pulse/.settings/org.eclipse.jdt.core.prefs b/pulse/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..f287d53
--- /dev/null
+++ b/pulse/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/.settings/org.eclipse.wst.common.component
----------------------------------------------------------------------
diff --git a/pulse/.settings/org.eclipse.wst.common.component b/pulse/.settings/org.eclipse.wst.common.component
new file mode 100644
index 0000000..2008997
--- /dev/null
+++ b/pulse/.settings/org.eclipse.wst.common.component
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="Pulse">
+ <wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test/java"/>
+ <property name="context-root" value="Pulse"/>
+ <property name="java-output-path" value="/Pulse/PULSE_OUTPUT/classes"/>
+ </wb-module>
+</project-modules>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/.settings/org.eclipse.wst.common.project.facet.core.xml
----------------------------------------------------------------------
diff --git a/pulse/.settings/org.eclipse.wst.common.project.facet.core.xml b/pulse/.settings/org.eclipse.wst.common.project.facet.core.xml
new file mode 100644
index 0000000..20c93fa
--- /dev/null
+++ b/pulse/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="VMware vFabric tc Server Developer Edition (Runtime) v2.7"/>
+ <fixed facet="wst.jsdt.web"/>
+ <fixed facet="java"/>
+ <fixed facet="jst.web"/>
+ <installed facet="java" version="1.6"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/.settings/org.eclipse.wst.jsdt.ui.superType.container
----------------------------------------------------------------------
diff --git a/pulse/.settings/org.eclipse.wst.jsdt.ui.superType.container b/pulse/.settings/org.eclipse.wst.jsdt.ui.superType.container
new file mode 100644
index 0000000..3bd5d0a
--- /dev/null
+++ b/pulse/.settings/org.eclipse.wst.jsdt.ui.superType.container
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/.settings/org.eclipse.wst.jsdt.ui.superType.name
----------------------------------------------------------------------
diff --git a/pulse/.settings/org.eclipse.wst.jsdt.ui.superType.name b/pulse/.settings/org.eclipse.wst.jsdt.ui.superType.name
new file mode 100644
index 0000000..05bd71b
--- /dev/null
+++ b/pulse/.settings/org.eclipse.wst.jsdt.ui.superType.name
@@ -0,0 +1 @@
+Window
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/REMOVED_JARS.txt
----------------------------------------------------------------------
diff --git a/pulse/REMOVED_JARS.txt b/pulse/REMOVED_JARS.txt
new file mode 100644
index 0000000..57c0b09
--- /dev/null
+++ b/pulse/REMOVED_JARS.txt
@@ -0,0 +1,31 @@
+The following jars were removed from this source code. These should be
+downloaded from maven central as part of the build.
+
+ext-libs/com.springsource.org.apache.commons.beanutils-1.8.0.jar
+ext-libs/com.springsource.org.apache.commons.collections-3.2.0.jar
+ext-libs/com.springsource.org.apache.commons.digester-1.8.1.jar
+ext-libs/com.springsource.org.apache.commons.logging-1.1.1.jar
+ext-libs/commons-codec-1.6.jar
+ext-libs/commons-lang-2.6.jar
+ext-libs/commons-logging-1.1.3.jar
+ext-libs/fluent-hc-4.3.3.jar
+ext-libs/httpclient-4.3.3.jar
+ext-libs/httpclient-cache-4.3.3.jar
+ext-libs/httpcore-4.3.2.jar
+ext-libs/httpmime-4.3.3.jar
+ext-libs/junit-4.10.jar
+ext-libs/selenium-server-standalone-2.41.0.jar
+ext-libs/servlet-api-2.5-20081211.jar
+ext-libs/spring-aop-3.2.9.RELEASE.jar
+ext-libs/spring-beans-3.2.9.RELEASE.jar
+ext-libs/spring-context-3.2.9.RELEASE.jar
+ext-libs/spring-core-3.2.9.RELEASE.jar
+ext-libs/spring-expression-3.2.9.RELEASE.jar
+ext-libs/spring-ldap-core-1.3.1.RELEASE.jar
+ext-libs/spring-security-config-3.1.4.RELEASE.jar
+ext-libs/spring-security-core-3.1.4.RELEASE.jar
+ext-libs/spring-security-ldap-3.1.4.RELEASE.jar
+ext-libs/spring-security-web-3.1.4.RELEASE.jar
+ext-libs/spring-tx-3.0.5.RELEASE.jar
+ext-libs/spring-web-3.2.9.RELEASE.jar
+ext-libs/spring-webmvc-3.2.9.RELEASE.jar
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/RNDeltaChanges.txt
----------------------------------------------------------------------
diff --git a/pulse/RNDeltaChanges.txt b/pulse/RNDeltaChanges.txt
new file mode 100644
index 0000000..0d11028
--- /dev/null
+++ b/pulse/RNDeltaChanges.txt
@@ -0,0 +1,3 @@
+##############################################################################
+######### Please keep text to 78 char width - no wider than this #############
+##############################################################################
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/build.bat
----------------------------------------------------------------------
diff --git a/pulse/build.bat b/pulse/build.bat
new file mode 100755
index 0000000..366166e
--- /dev/null
+++ b/pulse/build.bat
@@ -0,0 +1,50 @@
+@echo off
+set scriptdir=%~dp0
+set BASEDIR=%scriptdir:\buildfiles\=%
+if exist "%BASEDIR%\build.xml" @goto baseok
+echo Could not determine BASEDIR location
+verify other 2>nul
+goto done
+:baseok
+
+set GEMFIRE=
+
+if not defined GCMDIR (
+ set GCMDIR=J:\
+)
+if not exist %GCMDIR% (
+ echo "ERROR: unable to locate GCMDIR %GCMDIR% maybe you forgot to map the J: network drive to //samba/gcm"
+ verify other 2>nul
+ goto done
+)
+
+set LDAP_SERVER_FQDN=ldap.gemstone.com
+if exist \\inf1\shared\users (
+ set LDAP_SERVER_FQDN=ldap.pune.gemstone.com
+)
+
+set JAVA_HOME=%GCMDIR%\where\jdk\1.6.0_26\x86.Windows_NT
+if defined ALT_JAVA_HOME (
+ set JAVA_HOME=%ALT_JAVA_HOME%
+)
+set ANT_HOME=%GCMDIR%\where\java\ant\apache-ant-1.8.2
+if defined ALT_ANT_HOME (
+ set ANT_HOME=%ALT_ANT_HOME%
+)
+set ANT_ARGS=%ANT_ARGS% -lib %GCMDIR%\where\java\jcraft\jsch\jsch-0.1.44\jsch-0.1.44.jar
+set PATHOLD=%PATH%
+set PATH=%JAVA_HOME%\bin;%PATH%
+
+echo JAVA_HOME = %JAVA_HOME%
+echo ANT_HOME = %ANT_HOME%
+echo CLASSPATH = %CLASSPATH%
+echo %DATE% %TIME%
+
+echo running %ANT_HOME%\bin\ant.bat
+call %ANT_HOME%\bin\ant.bat %*
+if not defined ERRORLEVEL set ERRORLEVEL=0
+
+:done
+echo %ERRORLEVEL% > .xbuildfailure
+set ERRORLEVEL=
+if defined PATHOLD set PATH=%PATHOLD%
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/build.sh
----------------------------------------------------------------------
diff --git a/pulse/build.sh b/pulse/build.sh
new file mode 100755
index 0000000..0a9f8d2
--- /dev/null
+++ b/pulse/build.sh
@@ -0,0 +1,157 @@
+#!/bin/bash
+# Set BASEDIR to be the toplevel checkout directory.
+# We do this so that BASEDIR can be used elsewhere if needed
+#set -xv
+exec 0<&-
+BASEDIR=`/usr/bin/dirname $0`
+OLDPWD=$PWD
+cd $BASEDIR
+export BASEDIR=`/usr/bin/dirname $PWD`
+cd $OLDPWD
+
+unset CLASSPATH
+export CLASSPATH
+
+unset GEMFIRE
+export GEMFIRE
+
+PING="ping -c 1"
+if [ `uname` = "SunOS" ]; then
+ export GCMDIR=${GCMDIR:-"/gcm"}
+ export JAVA_HOME=${ALT_JAVA_HOME:-$GCMDIR/where/jdk/1.6.0_26/sparc.Solaris}
+ # for JVM debugging
+ # export JAVA_HOME=/export/avocet2/users/otisa/j2se142debug
+ logfile=buildSol.log
+ if [ -d "/export/std11_gfe/bin" ]; then
+ # Studio 11 version CC: Sun C++ 5.8 Patch 121017-05 2006/08/30
+ export SunCompilerDir=/export/std11_gfe/bin
+ else
+ echo "Sun Studio 11 compiler not found";
+ fi
+
+ # Studio 11 version CC: Sun C++ 5.8 Patch 121017-05 2006/08/30
+ SunCompilerVer=`$SunCompilerDir/CC -V 2>&1 `
+ echo "Using Studio 11 at $SunCompilerDir "
+ echo " version: $SunCompilerVer "
+
+elif [ `uname` = "Darwin" ]; then
+ export GCMDIR=${GCMDIR:-"/export/gcm"}
+ export JAVA_HOME=${ALT_JAVA_HOME:-/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home}
+ if [ ! -d $JAVA_HOME ]; then
+ echo "Upgrade to Leopard Please, or set ALT_JAVA_HOME to the soylatte VM"
+cat << __HERE__
+ Upgrade to Leopard Please, or set ALT_JAVA_HOME to the soylatte VM
+ #example setup
+ export ALT_JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
+ #Also add these to buildmac.properties
+ javac.secondary=${gcm.dir}/where/jdk/1.6.0_3/i386.darwin
+ default.testVM=${gcm.dir}/where/jdk/1.6.0_3/i386.darwin
+ default.testVM64=${gcm.dir}/where/jdk/1.6.0_3/i386.darwin
+__HERE__
+ exit 1
+ fi
+ export GccCCompiler=/usr/bin/gcc
+ export GccCplusplusCompiler=/usr/bin/g++
+ GccCompilerVer=`$GccCCompiler --version | head -1 2>&1 `
+ export GccMajorVer="3"
+ echo "Using gcc version: $GccCompilerVer"
+ logfile=buildMac.log
+ export PATH=`dirname $GccCplusplusCompiler`:$PATH
+
+elif [ `uname` = "Linux" ]; then
+ export GCMDIR=${GCMDIR:-"/gcm"}
+ export JAVA_HOME=${ALT_JAVA_HOME:-$GCMDIR/where/jdk/1.6.0_26/x86.linux}
+ #export JAVA_HOME=/export/avocet2/users/otisa/j2se142debugLinux
+
+ export GccCCompiler=/usr/bin/gcc
+ export GccCplusplusCompiler=/usr/bin/g++
+ GccCompilerVer=`$GccCCompiler --version | head -1 2>&1 `
+ export GccMajorVer="3"
+
+ echo "Using gcc version: $GccCompilerVer"
+ logfile=buildLinux.log
+ export PATH=`dirname $GccCplusplusCompiler`:$PATH
+ # set vars for mono if available
+ if which xbuild >/dev/null 2>/dev/null; then
+ export XBUILD="`which xbuild`"
+ export MONO="`which mono`"
+ fi
+elif [ `uname` = "AIX" ]; then
+ export GCMDIR=${GCMDIR:-"/gcm"}
+ export JAVA_HOME=${ALT_JAVA_HOME:-$GCMDIR/where/jdk/1.6.0-ibm/RISC6000.AIX}
+ #export GccCCompiler=/bin/gcc
+ #export GccCplusplusCompiler=/bin/g++
+ #GccCompilerVer=`$GccCCompiler --version | head -1 2>&1 `
+ #export GccMajorVer="4"
+ #echo "Using gcc version: $GccCompilerVer"
+ logfile=buildAIX.log
+ #export PATH=`dirname $GccCplusplusCompiler`:$PATH
+ NO_BUILD_LOG=1
+else
+ echo "Defaulting to Windows build"
+ # unset TERMCAP since it causes issues when used
+ # with windows environment variables
+ unset TERMCAP
+ # suppress DOS path warnings
+ if [ -z "${CYGWIN}" ]; then
+ export CYGWIN="nodosfilewarning"
+ else
+ export CYGWIN="${CYGWIN} nodosfilewarning"
+ fi
+
+ PING="ping -n 1"
+ rm -f .xbuildfailure
+ cmd.exe /c .\\build.bat "$@"
+ if [ -r .xbuildfailure ]; then
+ read stat <.xbuildfailure
+ rm -f .xbuildfailure
+ exit $stat
+ fi
+
+fi
+
+# setup the LDAP server for Pune/Beaverton networks;
+
+if [ -z "${LDAP_SERVER_FQDN}" ]; then
+ if expr `$PING ldap.pune.gemstone.com | sed -n 's/^.* time[^ ]\([0-9\.]*\).*$/\1/p'` '<' 50 >/dev/null 2>/dev/null; then
+ LDAP_SERVER_FQDN="ldap.pune.gemstone.com"
+ else
+ LDAP_SERVER_FQDN="ldap.gemstone.com"
+ fi
+fi
+export LDAP_SERVER_FQDN
+echo "Using LDAP server: $LDAP_SERVER_FQDN"
+
+export ANT_HOME=${ALT_ANT_HOME:-$GCMDIR/where/java/ant/apache-ant-1.8.2}
+export ANT_ARGS="$ANT_ARGS -lib $GCMDIR/where/java/jcraft/jsch/jsch-0.1.44/jsch-0.1.44.jar"
+export ANT_OPTS="-Xmx384m -Dhttp.proxyHost=proxy.eng.vmware.com -Dhttp.proxyPort=3128"
+export PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$PATH
+
+function logant {
+# if [[ `uname` == "SunOS" || `uname` == "Linux" || `uname` == "AIX" ]]; then
+ rm -f .xbuildfailure
+ ( $ANT_HOME/bin/ant --noconfig "$@" || echo "$?" > .xbuildfailure ) 2>&1 | tee $logfile
+ if [ -r .xbuildfailure ]; then
+ read stat <.xbuildfailure
+ rm -f .xbuildfailure
+ exit $stat
+ fi
+# else
+ # cygwin tee causes hang on windows
+# $ANT_HOME/bin/ant --noconfig -DuseSSH=false "$@"
+# fi
+}
+
+echo "JAVA_HOME = $JAVA_HOME"
+echo "ANT_HOME = $ANT_HOME"
+echo "CLASSPATH = $CLASSPATH"
+date
+
+# ant likes to be in the directory that build.xml is in
+if [[ "x$NO_BUILD_LOG" = "x" ]]; then
+ logant "$@"
+else
+ echo "running $ANT_HOME/bin/ant "
+ $ANT_HOME/bin/ant --noconfig "$@"
+fi
+
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/build.xml
----------------------------------------------------------------------
diff --git a/pulse/build.xml b/pulse/build.xml
new file mode 100644
index 0000000..f7307a1
--- /dev/null
+++ b/pulse/build.xml
@@ -0,0 +1,604 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<project name="pulse" default="usage" basedir=".">
+
+ <target depends="usage" name="help"/>
+
+ <target name="usage">
+ <description>Prints information about what can be built</description>
+
+ <echo>
+Commonly used targets:
+ build-product Builds product into product dist
+ pack-RNotes Creates ReleaseNotes from RNDeltaNotes.txt
+ compile-tests Builds tests
+ run-tests Run tests
+ precheckin Does an update-svn, clean, build-all, run-tests
+ usage (or help) Prints this help information
+
+Available targets:
+ build-all Cleans, Compiles source and tests, and creates pulse warfile
+ clean Cleans all byproducts of building
+
+Command Line Defines:
+ -DSOMESWITCH=dir NOT IMPLEMENTED
+ </echo>
+ </target>
+
+ <!-- Property reference to environment variables -->
+ <property environment="myenv"/>
+
+ <taskdef resource="com/gemstone/tools/ant/taskdefs/buildtasks.properties"
+ classpath="${basedir}/buildfiles/taskdefsV10.jar"/>
+ <!-- determine machine and os, and if this is a 32 bit only or 64 bit only pla
+tform -->
+ <import file="buildfiles/osplatform.xml"/>
+
+ <property name="gcm.dir" value="${myenv.GCMDIR}"/>
+
+ <!-- import any properties defined in a properties file -->
+ <available file="${basedir}/build${gf.os}.properties" property="build.os.exists"/>
+ <conditional if="build.os.exists">
+ <echo message="Loading properties from ${basedir}/build${gf.os}.properties:" level="info"/>
+ <property file="${basedir}/build${gf.os}.properties"/>
+ <concat>
+ <filelist dir="${basedir}" files="build${gf.os}.properties"/>
+ </concat>
+ </conditional>
+
+ <available file="${basedir}/build.properties" property="build.props.exists"/>
+ <conditional if="build.props.exists">
+ <echo message="Loading properties from ${basedir}/build.properties:" level="info"/>
+ <property file="${basedir}/build.properties"/>
+ <concat>
+ <filelist dir="${basedir}" files="build.properties"/>
+ </concat>
+ </conditional>
+
+ <!-- include external xml files here -->
+ <import file="buildfiles/dependencies.xml"/>
+ <import file="buildfiles/utilities.xml"/>
+
+ <property name="build.dir" value="${basedir}/build-artifacts"/>
+ <property name="osbuild.dir" value="${build.dir}/${gf.os}"/>
+ <property name="app.name" value="pulse"/>
+ <property name="app.path" value="/${app.name}"/>
+ <property name="pulse.version" value="8.1.0"/>
+ <property name="target.dir" value="${osbuild.dir}/target"/>
+ <property name="dist.dir" value="${osbuild.dir}/dist"/>
+ <property name="src.dir" value="${basedir}/src/main/java"/>
+ <property name="classes.dir" value="${target.dir}/WEB-INF/classes"/>
+ <property name="tests.dir" value="${basedir}/src/test/java"/>
+ <property name="tests.resources.dir" value="${basedir}/src/test/resources"/>
+ <property name="tests.classes.dir" value="${target.dir}/tests/classes"/>
+ <property name="tests.results.dir" value="${target.dir}/tests/results"/>
+ <property name="web.dir" value="${basedir}/src/main/webapp"/>
+ <property name="application.lib.home" value="${web.dir}/WEB-INF/lib"/>
+ <property name="application.extlib.home" value="${basedir}/ext-libs"/>
+ <property name="properties.dir" value="${target.dir}/properties"/>
+
+ <property name="compile.debug" value="true"/>
+ <property name="compile.deprecation" value="false"/>
+ <property name="compile.optimize" value="true"/>
+ <property name="compile-gemfire.deprecation" value="off"/>
+
+ <path id="src.compile.classpath">
+ <!-- Application Libraries -->
+ <fileset dir="${application.extlib.home}">
+ <include name="*.jar"/>
+ <exclude name="selenium*.jar"/>
+ <exclude name="junit*.jar"/>
+ </fileset>
+ </path>
+
+ <path id="test.compile.classpath">
+ <pathelement location="${gcm.dir}/where/java/apache-tomcat/7.0.30/tomcat-embed-core.jar"/>
+ <pathelement location="${gcm.dir}/where/java/apache-tomcat/7.0.30/tomcat-embed-jasper.jar"/>
+ <pathelement location="${gcm.dir}/where/java/apache-tomcat/7.0.30/tomcat-embed-logging-juli.jar"/>
+ <pathelement location="${application.extlib.home}/commons-codec-1.6.jar"/>
+ <pathelement location="${application.extlib.home}/commons-logging-1.1.3.jar"/>
+ <pathelement location="${application.extlib.home}/fluent-hc-4.3.3.jar"/>
+ <pathelement location="${application.extlib.home}/httpclient-4.3.3.jar"/>
+ <pathelement location="${application.extlib.home}/httpclient-cache-4.3.3.jar"/>
+ <pathelement location="${application.extlib.home}/httpcore-4.3.2.jar"/>
+ <pathelement location="${application.extlib.home}/httpmime-4.3.3.jar"/>
+ <pathelement location="${application.extlib.home}/junit-4.10.jar"/>
+ <pathelement location="${application.extlib.home}/selenium-server-standalone-2.41.0.jar"/>
+ </path>
+
+ <!-- TARGETS -->
+
+ <target name="build-run-tests" depends="build-all, run-tests"/>
+
+ <target name="precheckin" depends="update-svn, clean, build-all, run-tests"/>
+
+ <target name="build-all" depends="clean, build-product, compile-tests" description="Clean build and dist directories, then compile"/>
+
+ <target name="build-product-RNotes" depends="build-product, pack-RNotes" description="Compile and create dist with Release Notes"/>
+
+ <target name="build-product" depends="dist" description="Compile and create dist"/>
+
+ <target name="all" depends="build-all" description="Compile and create dist"/>
+
+ <target name="props">
+
+ <!-- these two lines get hostname without requiring cygwin on windows -->
+ <exec executable="hostname"
+ failifexecutionfails="false"
+ outputproperty="myenv.COMPUTERNAME"/>
+ <property name="host.name" value="${myenv.COMPUTERNAME}"/>
+
+ <echo message="osbuild.dir is ${osbuild.dir}" level="info"/>
+ <echo message="Running on ${host.name}" level="info"/>
+
+ <property name="compile-gemfire.deprecation" value="off"/>
+
+ <!-- Do not allow build artifacts to be place on the filer -->
+ <fail message="Build artifacts cannot reside on the filer (${osbuild.dir}). Please use a build properties file">
+ <condition>
+ <contains string="${osbuild.dir}" substring="shared_build"
+ casesensitive="false"/>
+ </condition>
+ </fail>
+
+ <mkdir dir="${osbuild.dir}"/>
+ <property name="src.dir" value="${basedir}/src"/>
+
+ <property name="last.update.file" value="lastUpdate.txt"/>
+ <property name="date.pattern" value="MM/dd/yyyy HH:mm:ss z"/>
+
+ <tstamp>
+ <format pattern="yyyy-MM-dd-hh-mm-ss-SSS" property="sys.build.time"/>
+ <format pattern="${date.pattern}" property="build.time"/>
+ </tstamp>
+
+ <antcall target="make-last-update"/>
+ <!-- If svn was manually run then update lastUpdate.txt and build.number -->
+ <uptodate property="makelastupdate.Required"
+ srcfile="${build.dir}/${last.update.file}"
+ targetfile="${basedir}/.svn/entries"/>
+
+ <conditional if="makelastupdate.Required">
+ <antcall target="make-last-update"/>
+ <property name="skipLastUpdate" value="true"/>
+ </conditional>
+
+ </target>
+
+ <target name="clean" depends="props" description="Delete old build and dist directories">
+ <delete dir="${osbuild.dir}"/>
+ </target>
+
+ <target name="prepare" depends="props">
+ <!-- Create staging directories as needed -->
+ <mkdir dir="${target.dir}"/>
+ <mkdir dir="${target.dir}/WEB-INF"/>
+ <mkdir dir="${classes.dir}"/>
+
+ <!-- Copy static content, jsps and web.xml of this web application -->
+ <copy todir="${target.dir}">
+ <fileset dir="${web.dir}"/>
+ </copy>
+
+ <!-- Copy external dependencies as required -->
+ <mkdir dir="${target.dir}/WEB-INF/lib"/>
+
+ </target>
+
+ <target name="compile" depends="prepare" description="Compile Java sources">
+ <!-- Compile Java classes as necessary -->
+ <echo level="info" message="Compiling Pulse source..."/>
+ <javac srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ debug="${compile.debug}"
+ deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}" includeantruntime="false">
+ <classpath refid="src.compile.classpath"/>
+ </javac>
+
+ <!-- Copy application resources -->
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}" excludes="**/*.java"/>
+ </copy>
+ </target>
+
+ <target name="dist" depends="compile" description="Create binary distribution">
+ <!-- Copy Open Source File -->
+ <copy file="release/3rdparty_licenses/open_source_licenses-Pivotal_GemFire_Pulse_8.1.0.txt" tofile="${target.dir}/oslicenses.txt"/>
+
+ <!-- Copy dependent libs -->
+ <copy file="ext-libs/spring-security-core-3.1.4.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-security-web-3.1.4.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-security-config-3.1.4.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+
+ <copy file="ext-libs/spring-core-3.2.9.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-web-3.2.9.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-beans-3.2.9.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-context-3.2.9.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-expression-3.2.9.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-aop-3.2.9.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-webmvc-3.2.9.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+
+ <copy file="ext-libs/com.springsource.org.apache.commons.beanutils-1.8.0.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/com.springsource.org.apache.commons.collections-3.2.0.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/com.springsource.org.apache.commons.digester-1.8.1.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/com.springsource.org.apache.commons.logging-1.1.1.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/commons-lang-2.6.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-ldap-core-1.3.1.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-security-ldap-3.1.4.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+ <copy file="ext-libs/spring-tx-3.0.5.RELEASE.jar" todir="${target.dir}/WEB-INF/lib"/>
+
+
+ <copy file="src/main/resources/pulse-users.properties" todir="${target.dir}/WEB-INF/classes"/>
+
+ <!-- Copy All Locale files -->
+ <copy todir="${classes.dir}">
+ <fileset dir="src/main/resources">
+ <include name="**/LogMessages*.properties"/>
+ <!--<include name="**/pulse.properties"/>-->
+ </fileset>
+ </copy>
+
+ <!-- Product and internationalization files -->
+ <copy todir="${properties.dir}">
+ <fileset dir="src/main/resources">
+ <include name="**/default.properties"/>
+ <include name="**/gemfire.properties"/>
+ <include name="**/sqlfire.properties"/>
+ </fileset>
+ </copy>
+
+ <!-- Create pulse.properties file for including in WAR -->
+ <property file="${build.dir}/${last.update.file}"/>
+ <property file="${build.dir}/build.number"/>
+ <propertyfile comment="Pulse Properties File" file="${classes.dir}/pulseversion.properties">
+ <entry key="pulse.version" value="${pulse.version}"/>
+ <entry key="Build-Id" value="${user.name} ${build.number}"/>
+ <entry key="Build-Date" value="${build.time}"/>
+ <entry key="Source-Date" value="${source.date}"/>
+ <entry key="Source-Revision" value="${source.revision}"/>
+ <entry key="Source-Repository" value="${source.branch}"/>
+ </propertyfile>
+
+ <!-- Create application JAR/WAR file -->
+ <jar jarfile="${dist.dir}/${app.name}-${pulse.version}.war"
+ basedir="${target.dir}"/>
+
+ </target>
+
+ <target name="update-git" depends="props">
+ <description>Updates the sources to latest revision.</description>
+
+ <property name="git.logfile" value="update-git.log"/>
+ <property name="git.hist.logfile" value=".git-history.log"/>
+ <property name="git.branch" value=".git/.git-branch.log"/>
+ <delete file="${git.logfile}" quiet="true"/>
+
+ <!-- Need finally block for git pull because it may actually
+ perform a lot of updates before failing, and we want to capture
+ those in .git-history.log -->
+ <trycatch>
+ <try>
+ <exec executable="git" resultproperty="gitpullExitStatus" output="${git.logfile}">
+ <arg value="pull"/>
+ </exec>
+ </try>
+ <finally>
+ <exec executable="git" append="true" output="${git.logfile}">
+ <arg value="status"/>
+ </exec>
+ </finally>
+ </trycatch>
+
+ <condition property="gitpullFailed">
+ <equals arg1="${gitpullExitStatus}" arg2="1"/>
+ </condition>
+ <if>
+ <isset property="gitpullFailed"/>
+ <then>
+ <exec executable="cat" >
+ <arg value="${git.logfile}"/>
+ </exec>
+ <fail if="gitpullFailed" message="git pull failed. See ${git.logfile} for details."/>
+ </then>
+ </if>
+
+ <antcall inheritAll="true" target="make-last-update"/>
+
+ <concat append="true" fixlastline="true" destfile="${git.hist.logfile}" >
+==============================
+</concat> <!-- Leave the two lines above as is so they concat properly -->
+
+ <concat append="true" fixlastline="true" destfile="${git.hist.logfile}">
+ <filelist dir="${basedir}" files="build-artifacts/build.number"/>
+ <filelist dir="${basedir}" files="${git.logfile}"/>
+ </concat>
+ </target>
+
+ <target name="rcs-init">
+ <available file=".git" type="dir" property="git.present"/>
+ <available file=".svn" type="dir" property="svn.present"/>
+ </target>
+
+ <target name="make-last-update" depends="rcs-init" unless="skipLastUpdate">
+ <description>Creates a file that contains the time at which the
+ GemFire checkout was last updated</description>
+
+ <mkdir dir="${build.dir}"/>
+
+ <!-- Make Last Update File with SVN workspace -->
+ <if>
+ <isset property="svn.present"/>
+ <then>
+ <delete file="${build.dir}/${last.update.file}" quiet="true"/>
+ <echo level="info" message="Querying SVN Workspace Information" />
+ <svnSetting client="cli" dateformatter="MM/dd/yyyy HH:mm:ss z" id="svn.settings"/>
+ <!-- Get svn info of the SVN workspace -->
+ <svn refid="svn.settings">
+ <info target="."/>
+ </svn>
+ <propertyregex property="source.branch"
+ input="${svn.info.url}"
+ regexp="^https\:\/\/svn\.gemstone\.com\/repos\/"
+ replace=""
+ casesensitive="false" />
+ </then>
+ <elseif>
+ <isset property="git.present"/>
+ <then>
+ <property name="git.status" value="${basedir}/.git/.git-status.log"/>
+ <echo level="info" message="Querying GIT Workspace Information..." />
+
+ <exec executable="git" failonerror="false" output="${git.status}">
+ <arg value="log"/>
+ <arg value="--grep=git-svn-id"/>
+ <arg value="-1"/>
+ </exec>
+
+ <exec executable="git" failonerror="false" outputproperty="GIT.source.branch">
+ <arg value="rev-parse"/>
+ <arg value="--abbrev-ref"/>
+ <arg value="HEAD"/>
+ </exec>
+ <exec executable="git" failonerror="false" outputproperty="GIT.source.revision">
+ <arg value="rev-parse"/>
+ <arg value="HEAD"/>
+ </exec>
+ <exec executable="git" failonerror="false" outputproperty="GIT.source.date">
+ <arg value="show"/>
+ <arg value="-s"/>
+ <arg value="--format=%cD"/>
+ <arg value="${GIT.source.revision}"/>
+ </exec>
+ </then>
+ </elseif>
+ <else>
+ <echo level="info" message="No revision control information found"/>
+ </else>
+ </if>
+
+ <!-- Load lastUpdate.txt properties with prefix to avoid setting -->
+ <property file="${build.dir}/${last.update.file}" prefix="PROP" prefixValues="true"/>
+
+ <if>
+ <equals arg1="${GIT.source.revision}" arg2="${PROP.source.revision}" />
+ <then>
+ <echo message="Source revision hasn't changed. Skipping property file update..." />
+ </then>
+ <else>
+ <!-- Create LastUpdate Property File -->
+ <echo message="Updating build-artifacts property files..." level="info"/>
+
+ <property name="git.status" value="${basedir}/.git/.git-status.log"/>
+ <delete file="${git.status}" quiet="true"/>
+ <delete file="${build.dir}/${last.update.file}" quiet="true"/>
+
+ <propertyfile comment="Information about a checkout" file="${build.dir}/${last.update.file}">
+ <entry key="source.branch" value="${GIT.source.branch}"/>
+ <entry key="source.date" value="${GIT.source.date}"/>
+ <entry key="source.revision" value="${GIT.source.revision}"/>
+ </propertyfile>
+
+ <!-- This use to be the revision but is now a date string -->
+ <tstamp>
+ <format property="build.number" pattern="MMddyy"/>
+ </tstamp>
+
+ <delete file="${build.dir}/build.number" quiet="true"/>
+ <propertyfile comment="Build Number File" file="${build.dir}/build.number">
+ <entry key="build.number" value="${build.number}"/>
+ </propertyfile>
+ </else>
+ </if>
+
+ <!-- Load lastUpdate.txt to set properties and print banner -->
+ <property file="${build.dir}/${last.update.file}"/>
+ <property file="${build.dir}/build.number"/>
+ <echo message="" level="info"/>
+ <echo message="=========================================" level="info"/>
+ <echo message="Version: ${pulse.version} ${user.name} ${build.number}" level="info"/>
+ <echo message="Source-branch: ${source.branch}" level="info"/>
+ <echo message="Source-Date: ${source.date}" level="info"/>
+ <echo message="Source-Revision: ${source.revision}" level="info"/>
+ <echo message="=========================================" level="info"/>
+
+ </target>
+
+ <target name="update-svn" depends="props">
+ <description>Updates the current checkout revision.</description>
+
+ <property name="svn.logfile" value="update-svn.log"/>
+ <property name="svn.hist.logfile" value=".svn-history.log"/>
+ <delete file="${svn.logfile}" quiet="true"/>
+
+ <!-- Need finally block for svn update because it may actually
+ perform a lot of updates before failing, and we want to capture
+ those in .svn-history.log -->
+ <trycatch>
+ <try>
+ <exec executable="svn" failonerror="true" output="${svn.logfile}">
+ <arg value="update"/>
+ <arg value="--accept"/>
+ <arg value="postpone"/>
+ </exec>
+ </try>
+ <finally>
+ <exec executable="svn" append="true" output="${svn.logfile}">
+ <arg value="status"/>
+ </exec>
+ </finally>
+ </trycatch>
+ <antcall target="make-last-update"/>
+
+ <concat append="true" fixlastline="true" destfile="${svn.hist.logfile}" >
+==============================
+</concat> <!-- Leave the two lines above as is so they concat properly -->
+
+ <concat append="true" fixlastline="true" destfile="${svn.hist.logfile}">
+ <filelist dir="${basedir}" files="build-artifacts/build.number"/>
+ <filelist dir="${basedir}" files="${svn.logfile}"/>
+ </concat>
+
+ <echo message="Checking for update conflicts in ${svn.logfile}" level="info"/>
+
+ <exec executable="grep" resultproperty="grepExitStatus">
+ <arg value="^C "/>
+ <arg value="${svn.logfile}"/>
+ </exec>
+ <condition property="grepFailed">
+ <equals arg1="${grepExitStatus}" arg2="0"/>
+ </condition>
+
+ <fail if="grepFailed" message="SVN update conflicts detected."/>
+ </target>
+
+ <target name="pack-RNotes" depends="props">
+ <delete file="${dist.dir}/Pulse_${pulse.version}_ReleaseNotes.txt" quiet="true"/>
+ <property file="${build.dir}/build.number"/>
+ <property file="${build.dir}/lastUpdate.txt"/>
+
+ <copy file="${basedir}/release/docfiles/ReleaseNotes.txt"
+ tofile="${dist.dir}/Pulse_${pulse.version}_ReleaseNotes.txt"/>
+
+ <concat append="true" fixlastline="true" destfile="${dist.dir}/Pulse_${pulse.version}_ReleaseNotes.txt" >
+--------------------------------
+ Changes in ${pulse.version} ${user.name} ${build.number}
+ Source-Revision=${source.revision}
+ Build-Date=${build.time}
+--------------------------------
+</concat>
+
+ <concat append="true" fixlastline="true" destfile="${dist.dir}/Pulse_${pulse.version}_ReleaseNotes.txt">
+ <filelist dir="${basedir}" files="RNDeltaChanges.txt"/>
+ </concat>
+
+ <!-- Place updates of files with intention they can be checked in -->
+ <replace file="${dist.dir}/Pulse_${pulse.version}_ReleaseNotes.txt">
+ <replacetoken><![CDATA[#]]></replacetoken>
+ <replacevalue><![CDATA[]]></replacevalue>
+ </replace>
+
+ <replace file="${dist.dir}/Pulse_${pulse.version}_ReleaseNotes.txt">
+ <replacetoken><![CDATA[
+ Please keep text to 78 char width - no wider than this
+]]></replacetoken>
+ <replacevalue><![CDATA[]]></replacevalue>
+ </replace>
+
+ <copy file="${dist.dir}/Pulse_${pulse.version}_ReleaseNotes.txt"
+ tofile="${basedir}/release/docfiles/ReleaseNotes.txt.UPDATE"/>
+
+ <copy file="${basedir}/RNDeltaChanges.txt"
+ tofile="${basedir}/RNDeltaChanges.txt.UPDATE"/>
+ </target>
+
+ <target name="compile-tests" depends="compile">
+
+ <mkdir dir="${tests.classes.dir}"/>
+ <echo level="info" message="Compiling Pulse tests..."/>
+ <javac srcdir="${tests.dir}"
+ destdir="${tests.classes.dir}"
+ debug="${compile.debug}"
+ deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}"
+ includeantruntime="false"
+ fork="yes"
+ verbose="no">
+ <classpath>
+ <path refid="test.compile.classpath"/>
+ <pathelement location="${target.dir}/WEB-INF/classes"/>
+ </classpath>
+ </javac>
+
+ </target>
+
+ <!-- Automate deployment of Pulse to standalone tomcat server -->
+ <target name="run-tests" depends="compile-tests">
+ <!-- Set default properties for pulse.url-->
+ <property name="pulsewarfile" value="${dist.dir}/${app.name}-${pulse.version}.war"/>
+
+ <mkdir dir="${tests.results.dir}"/>
+ <echo level="info" message="Running Tests..."/>
+
+ <!-- Currently there are only GUI (web browser) tests which require access to Pulse running -->
+ <junit printsummary="yes"
+ failureProperty="tests.failed"
+ haltOnFailure="false">
+ <assertions>
+ <enable/>
+ </assertions>
+ <sysproperty key="pulse.propfile" value="${tests.resources.dir}/test.properties"/>
+ <sysproperty key="pulse.war" value="${pulsewarfile}"/>
+ <sysproperty key="pulse-host" value="${pulse-host}"/>
+ <sysproperty key="pulse-port" value="${pulse-port}"/>
+ <sysproperty key="pulse-context" value="${pulse-context}"/>
+ <sysproperty key="pulse-product" value="${pulse-product}"/>
+
+ <!-- TODO : Add here a sysproperty to send in a parameter whether we are running run-tests for 'GemFire' OR 'GemFireXD' -->
+ <classpath>
+ <pathelement location="${tests.classes.dir}"/>
+ <pathelement location="${tests.resources.dir}"/>
+ <pathelement location="${classes.dir}"/>
+ <pathelement location="${gcm.dir}/where/java/apache-tomcat/7.0.30/tomcat-embed-core.jar" />
+ <pathelement location="${gcm.dir}/where/java/apache-tomcat/7.0.30/tomcat-embed-jasper.jar" />
+ <pathelement location="${gcm.dir}/where/java/apache-tomcat/7.0.30/tomcat-embed-logging-juli.jar" />
+ <fileset dir="${application.extlib.home}">
+ <include name="com.springsource.org.apache.commons.beanutils-1.8.0.jar"/>
+ <include name="com.springsource.org.apache.commons.collections-3.2.0.jar"/>
+ <include name="com.springsource.org.apache.commons.digester-1.8.1.jar"/>
+ <include name="com.springsource.org.apache.commons.logging-1.1.1.jar"/>
+ <include name="junit-4.10.jar"/>
+ <include name="servlet-api-2.5-20081211.jar"/>
+ <include name="spring-aop-3.2.9.RELEASE.jar"/>
+ <include name="spring-beans-3.2.9.RELEASE.jar"/>
+ <include name="spring-core-3.2.9.RELEASE.jar"/>
+ <include name="spring-security-config-3.1.4.RELEASE.jar"/>
+ <include name="spring-expression-3.2.9.RELEASE.jar"/>
+ <include name="spring-context-3.2.9.RELEASE.jar"/>
+ <include name="spring-security-core-3.1.4.RELEASE.jar"/>
+ <include name="spring-security-web-3.1.4.RELEASE.jar"/>
+ <include name="spring-web-3.2.9.RELEASE.jar"/>
+ <include name="spring-webmvc-3.2.9.RELEASE.jar"/>
+ <include name="selenium-server-standalone-2.41.0.jar"/>
+ </fileset>
+ </classpath>
+
+ <formatter type="plain"/>
+
+ <batchtest fork="yes" todir="${tests.results.dir}">
+ <fileset dir="${tests.dir}">
+ <include name="**/*Tests.java"/>
+ <include name="**/*Test.java"/>
+ <exclude name="**/AllTests.java"/>
+ <exclude name="**/Base*.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+
+ <conditional if="tests.failed">
+ <echo message="FAILED: Test failures in ${tests.results.dir}" level="error"/>
+ <echo append="true" file="${tests.results.dir}/TestFailures" message="FAILED: Test failures in ${tests.results.dir}" level="error"/>
+ <fail message="FAILED: One or more tests failed"/>
+ </conditional>
+
+ </target>
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/buildfiles/dependencies.xml
----------------------------------------------------------------------
diff --git a/pulse/buildfiles/dependencies.xml b/pulse/buildfiles/dependencies.xml
new file mode 100644
index 0000000..19c9224
--- /dev/null
+++ b/pulse/buildfiles/dependencies.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="dependencies">
+ <dependency property="svnant.dir" artifact="where/java/svnant/svnant-1.4.dev"/>
+ <dependency property="ant-contrib.jar" artifact="where/java/ant/ant-contrib/ant-contrib-1.0b3/ant-contrib-1.0b3.jar"/>
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/buildfiles/osplatform.xml
----------------------------------------------------------------------
diff --git a/pulse/buildfiles/osplatform.xml b/pulse/buildfiles/osplatform.xml
new file mode 100644
index 0000000..cc63ddf
--- /dev/null
+++ b/pulse/buildfiles/osplatform.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="osplatform">
+ <!-- determine machine and os, and if this is a 32 bit only or 64 bit only platform -->
+ <condition property="gf.os" value="sol">
+ <os name="SunOs"/>
+ </condition>
+ <condition property="gf.os" value="linux">
+ <os name="Linux"/>
+ </condition>
+ <conditional unless="only64">
+ <condition property="only32" value="true">
+ <os name="Linux"/>
+ </condition>
+ </conditional>
+ <condition property="gf.os" value="mac">
+ <os family="mac"/>
+ </condition>
+ <condition property="only32" value="true">
+ <os family="mac"/>
+ </condition>
+ <condition property="gf.os" value="win">
+ <os family="windows"/>
+ </condition>
+ <conditional unless="only64">
+ <condition property="only32" value="true">
+ <os family="windows"/>
+ </condition>
+ </conditional>
+ <condition property="gf.os" value="aix">
+ <os name="AIX"/>
+ </condition>
+ <conditional unless="only64">
+ <condition property="only32" value="true">
+ <os name="AIX"/>
+ </condition>
+ </conditional>
+
+ <condition property="isSolaris">
+ <os name="SunOs"/>
+ </condition>
+ <condition property="isMac">
+ <os family="mac"/>
+ </condition>
+ <condition property="isAIX">
+ <os name="AIX"/>
+ </condition>
+ <condition property="isLinux">
+ <os name="Linux"/>
+ </condition>
+ <condition property="isWindows">
+ <os family="windows"/>
+ </condition>
+
+ <conditional if="only32">
+ <property name="singleModel" value="true"/>
+ <property name="do32bit" value="true"/>
+ </conditional>
+
+ <conditional if="only64">
+ <property name="singleModel" value="true"/>
+ <property name="do64bit" value="true"/>
+ </conditional>
+
+ <conditional unless="singleModel">
+ <property name="do32bit" value="true"/>
+ <property name="do64bit" value="true"/>
+ </conditional>
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c4f7ff44/pulse/buildfiles/utilities.xml
----------------------------------------------------------------------
diff --git a/pulse/buildfiles/utilities.xml b/pulse/buildfiles/utilities.xml
new file mode 100644
index 0000000..d01ab42
--- /dev/null
+++ b/pulse/buildfiles/utilities.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="utilities">
+ <description>
+ The Utilities Ant XML build script file defines reusable and useful utility functions/tasks for use inside other
+ GemFire build targets.
+ </description>
+
+ <path id="path.svnant">
+ <pathelement location="${svnant.dir}/lib/svnant.jar"/>
+ <pathelement location="${svnant.dir}/lib/svnClientAdapter.jar"/>
+ <pathelement location="${svnant.dir}/lib/svnkit-javahl16-1.7.5-v1.jar"/>
+ <pathelement location="${svnant.dir}/lib/svnkit-1.7.5-v1.jar"/>
+ <pathelement location="${svnant.dir}/lib/sqljet-1.1.4.jar"/>
+ <pathelement location="${svnant.dir}/lib/svnkit-cli-1.7.5-v1.jar"/>
+ <pathelement location="${svnant.dir}/lib/jna-3.4.0.jar"/>
+ <pathelement location="${svnant.dir}/lib/antlr-runtime-3.4.jar"/>
+ <pathelement location="${svnant.dir}/lib/sequence-library-1.0.2.jar"/>
+ </path>
+
+ <typedef resource="org/tigris/subversion/svnant/svnantlib.xml"
+ classpathref="path.svnant" />
+
+ <condition property="antcontrib.taskfile" value="net/sf/antcontrib/antlib.xml">
+ <antversion atleast="1.8"/>
+ </condition>
+
+ <!-- If antcontrib.taskfile is not set -->
+ <property name="antcontrib.taskfile" value="net/sf/antcontrib/antcontrib.properties"/>
+
+ <taskdef resource="${antcontrib.taskfile}" classpath="${ant-contrib.jar}"/>
+
+</project>