This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Download Geode source from one of two places: find a specific Apache Geode (incubating) release at httpshttp://githubgeode.com/apache.org/incubator-geode/releases or use the head of the develop branch at https://github.com/apache/incubator-geode. Build instructions for each Apache Geode (incubating) release are in the README.md or BUILDING.md file within the release. Both sets of the source code use the standard Gradle lifecycle model.

...

git clone -b develop https://github.com/apache/incubator-geode.git

Build on Unix

Within the incubator-geode directory, to build, run the tests, and create a distribution:

./gradlew build

To build and create a distribution, but not run the tests:

./gradlew build -Dskip.tests=true

The built binaries will be located The gfsh script will be in two places. One place it can be found is in  geode-assembly/build/install/apache-geode/bin.

Alternatively, the gfsh script is within the built binaries. To install from the distribution in geode-assembly/build/distributions/. To install from the distribution, extract the archive file and add the bin directory to your path.

The gfsh script can also be found in geode-assembly/build/install/apache-geode/bin.

Build on Windows

There is a gradlew.bat script in the develop branch of the repository at https://github.com/apache/incubator-geode, so it can be used to build from source.

Within the incubator-geode folder, to build, run the tests, and create a distribution:

gradlew.bat build

To build and create a distribution, but not run the tests:

gradle build -Dskip.tests=true

The built binaries will be located The gfsh script will be in two places. One place it can be found is in geode-assembly\build\distributionsinstall\apache-geode\bin.

Alternatively, the gfsh script is within the built binaries. To install from the distribution in geode-assembly\build\distributions\, extract the archive file and add the bin directory  folder to your path.

The gfsh.bat script can also be found in geode-assembly\build\install\apache-geode\bin.

Running Geode

To embed Geode in your application, add lib/geode-dependencies.jar to your classpath.

 

Running Geode

See the Geode Documentation for more complete documentation.

Note for Windows users: start a locator specifying this system property:

gfsh start locator --name=locator --J=-Dgemfire.OSProcess.ENABLE_OUTPUT_REDIRECTION=true