This is an automated email from the ASF dual-hosted git repository.
jensdeppe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/geode-examples.git
The following commit(s) were added to refs/heads/master by this push:
new f85e4c9 GEODE-5108: examples should only run gradle tasks (#77)
f85e4c9 is described below
commit f85e4c922a3df46f42ac498561928742dd2716b0
Author: Alberto Bustamante Reyes <[email protected]>
AuthorDate: Wed Jun 12 16:17:56 2019 +0200
GEODE-5108: examples should only run gradle tasks (#77)
---
async/README.md | 4 ++--
cq/README.md | 4 ++--
durableMessaging/README.md | 4 ++--
eviction/README.md | 4 ++--
expiration/README.md | 4 ++--
functions/README.md | 4 ++--
indexes/README.md | 4 ++--
listener/README.md | 4 ++--
loader/README.md | 4 ++--
lucene/README.md | 4 ++--
luceneSpatial/README.md | 4 ++--
overflow/README.md | 4 ++--
partitioned/README.md | 4 ++--
persistence/README.md | 4 ++--
putall/README.md | 4 ++--
replicated/README.md | 4 ++--
serialization/README.md | 4 ++--
transaction/README.md | 4 ++--
wan/README.md | 2 +-
writer/README.md | 4 ++--
20 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/async/README.md b/async/README.md
index 32964bf..76747e8 100644
--- a/async/README.md
+++ b/async/README.md
@@ -34,7 +34,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start two servers, create two regions, and deploy the
asynchronous event listener.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to put entries into the incoming region and get entries
from the outgoing region.
@@ -49,4 +49,4 @@ This example assumes you have installed Java and Geode.
5. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/cq/README.md b/cq/README.md
index 8b32d9a..1b63927 100644
--- a/cq/README.md
+++ b/cq/README.md
@@ -41,7 +41,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, and create a region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to demonstrate continues queries.
@@ -49,4 +49,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the server.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/durableMessaging/README.md b/durableMessaging/README.md
index f80a13d..c9c2fef 100644
--- a/durableMessaging/README.md
+++ b/durableMessaging/README.md
@@ -40,7 +40,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, and create a region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to demonstrate durable messaging.
@@ -48,4 +48,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the server.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/eviction/README.md b/eviction/README.md
index 239a944..57cf194 100644
--- a/eviction/README.md
+++ b/eviction/README.md
@@ -42,7 +42,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, and create a region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to demonstrate eviction.
@@ -50,4 +50,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/expiration/README.md b/expiration/README.md
index 74edb95..4e95c2e 100644
--- a/expiration/README.md
+++ b/expiration/README.md
@@ -43,7 +43,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, and create a region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to demonstrate expiration.
@@ -51,4 +51,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/functions/README.md b/functions/README.md
index e4a9073..2f0328f 100644
--- a/functions/README.md
+++ b/functions/README.md
@@ -36,7 +36,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start two servers, create a region, and deploy the
function.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to put entries into the region.
@@ -50,4 +50,4 @@ This example assumes you have installed Java and Geode.
5. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/indexes/README.md b/indexes/README.md
index b8ed7a7..27ad008 100644
--- a/indexes/README.md
+++ b/indexes/README.md
@@ -46,7 +46,7 @@ This example assumes that Java and Geode are installed.
2. Next start the locator and two servers.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to create indexes in the region.
@@ -54,4 +54,4 @@ This example assumes that Java and Geode are installed.
4. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/listener/README.md b/listener/README.md
index f11b3b6..87949d9 100644
--- a/listener/README.md
+++ b/listener/README.md
@@ -34,7 +34,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, and create a region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to add a cache listener, put entries into the region, and
capture the events.
@@ -42,4 +42,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/loader/README.md b/loader/README.md
index e69d9c9..a8fbf37 100644
--- a/loader/README.md
+++ b/loader/README.md
@@ -33,7 +33,7 @@ This example assumes you have installed Java and Geode.
2. Next start the locator and two servers
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to load the entries
@@ -47,4 +47,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the system:
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/lucene/README.md b/lucene/README.md
index 2bc6918..0023274 100644
--- a/lucene/README.md
+++ b/lucene/README.md
@@ -39,7 +39,7 @@ Each step in this example specifies paths relative to that
directory.
called ```simpleIndex```, and then creates the ```example-region``` region.
A Lucene index must be created before creating the region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
4. Run the example to populate both the Lucene index and `example-region`. The
data
will also be retrieved from the region and printed to the console.
@@ -92,7 +92,7 @@ will also be retrieved from the region and printed to the
console.
4. Exit gfsh and shut down the cluster
gfsh>exit
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
5. Clean up any generated directories and files so this example can be rerun.
diff --git a/luceneSpatial/README.md b/luceneSpatial/README.md
index ef7a988..651b7fc 100644
--- a/luceneSpatial/README.md
+++ b/luceneSpatial/README.md
@@ -39,7 +39,7 @@ Each step in this example specifies paths relative to that
directory.
called ```simpleIndex``` with a custom LuceneSerializer that indexes spatial
data. The script
then creates the ```example-region``` region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
4. Run the example. This program adds data to the example-region, and then
looks
for train stations with a 1 mile of a specific GPS coordinate. Look at
Example.java to see
@@ -51,7 +51,7 @@ what this program does.
5. Shut down the cluster
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
6. Clean up any generated directories and files so this example can be rerun.
diff --git a/overflow/README.md b/overflow/README.md
index c9671da..cedc986 100644
--- a/overflow/README.md
+++ b/overflow/README.md
@@ -32,13 +32,13 @@ Each step in this example specifies paths relative to that
directory.
2. Run a script that starts a locator and two servers. The script
then creates the ```example-region``` region and puts 4 entries.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
Note that both the region size and `totalEntriesOnlyOnDisk` are 0 before we
put any entries.
3. Shut down the cluster
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
4. In the output of the second `show metrics --region=example-region` command,
notice the line
diff --git a/partitioned/README.md b/partitioned/README.md
index 7ec66fb..8bd4b05 100644
--- a/partitioned/README.md
+++ b/partitioned/README.md
@@ -45,7 +45,7 @@ Each step in this example specifies paths relative to that
directory.
hosts the partitioned region. The example classes will be placed onto the
classpath when the script starts the servers.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to put 10 entries into the `example-region`. The data
will also be retrieved from the region and printed to the console.
@@ -102,7 +102,7 @@ will also be retrieved from the region and printed to the
console.
7. Shut down the cluster
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
## Things to Get Right for Partitioned Regions
diff --git a/persistence/README.md b/persistence/README.md
index 3b02ad3..6c824fe 100644
--- a/persistence/README.md
+++ b/persistence/README.md
@@ -32,7 +32,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, create a disk store, and create a
persistent region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to increment an entry the region.
@@ -58,4 +58,4 @@ This example assumes you have installed Java and Geode.
8. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/putall/README.md b/putall/README.md
index 941fa0b..92a2a75 100644
--- a/putall/README.md
+++ b/putall/README.md
@@ -30,7 +30,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, and create a region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to put entries into the region.
@@ -38,4 +38,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/replicated/README.md b/replicated/README.md
index 7a5a0f8..b38f446 100644
--- a/replicated/README.md
+++ b/replicated/README.md
@@ -31,7 +31,7 @@ This example assumes you have installed Java and Geode.
2. Next start the locator and two servers
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to create entries in the region
@@ -47,4 +47,4 @@ This example assumes you have installed Java and Geode.
6. Shut down the system:
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/serialization/README.md b/serialization/README.md
index 3544edd..31b8b09 100644
--- a/serialization/README.md
+++ b/serialization/README.md
@@ -50,7 +50,7 @@ This example assumes you have installed Java and Geode.
2. Next start the locator and two servers
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to create entries in the region
@@ -58,4 +58,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the system:
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/transaction/README.md b/transaction/README.md
index c6b28c3..4e9e59c 100644
--- a/transaction/README.md
+++ b/transaction/README.md
@@ -49,7 +49,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, and create a region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to demonstrate transactions.
@@ -57,4 +57,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
diff --git a/wan/README.md b/wan/README.md
index e092ecb..90f5a83 100644
--- a/wan/README.md
+++ b/wan/README.md
@@ -117,7 +117,7 @@ as well as printed to the console.
11. Exit gfsh in each terminal and shutdown the cluster using the stop.gfsh
script
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop
12. Clean up any generated directories and files.
diff --git a/writer/README.md b/writer/README.md
index 624c479..bcb7cad 100644
--- a/writer/README.md
+++ b/writer/README.md
@@ -34,7 +34,7 @@ This example assumes you have installed Java and Geode.
2. Next start a locator, start a server, and create a region.
- $ gfsh run --file=scripts/start.gfsh
+ $ ../gradlew start
3. Run the example to add a cache listener, put entries into the region, and
capture the events.
@@ -42,4 +42,4 @@ This example assumes you have installed Java and Geode.
4. Shut down the system.
- $ gfsh run --file=scripts/stop.gfsh
+ $ ../gradlew stop