You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by on...@apache.org on 2020/07/31 22:58:15 UTC

[geode-examples] 02/02: Update README with instructions to check out correct tag, now that develop is the default branch

This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-examples.git

commit 3362a4541bb00884fd3036bb74f36a2afc518713
Author: Owen Nichols <on...@pivotal.io>
AuthorDate: Fri Jul 31 15:00:53 2020 -0700

    Update README with instructions to check out correct tag, now that develop is the default branch
---
 README.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 0c8a667..9046cf3 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,11 @@ or submit a [pull request](https://github.com/apache/geode/pull/new/develop).
 
 # Apache Geode Version
 
-Check out the master branch to run examples against the latest geode release.
+Geode client code must link against the _same or older_ version of Geode as the Geode server it will connect to.
+
+Add `-PgeodeRepositoryUrl= -PgeodeVersion=1.12.0` to your `./gradlew` command to specify which Geode client libraries to link, otherwise the default may be too new.
+
+If the latest examples don't compile with your preferred version of Geode, use `git tag` to list the available versions, then check out a suitable tag e.g. `git checkout rel/v1.12.0`.
 
 ## Running an example
 
@@ -48,6 +52,7 @@ usage:
     $ ./gradlew :replicated:run
     $ ./gradlew :replicated:stop
     $ ./gradlew runAll
+    $ ./gradlew runAll -PgeodeRepositoryUrl= -PgeodeVersion=1.12.0
 
 ## Catalog of examples