geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aba...@apache.org
Subject [08/24] geode-examples git commit: GEODE-2318 Add BUILDING.md
Date Sat, 15 Jul 2017 15:42:04 GMT
GEODE-2318 Add BUILDING.md

This closes #2


Project: http://git-wip-us.apache.org/repos/asf/geode-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode-examples/commit/15725b6e
Tree: http://git-wip-us.apache.org/repos/asf/geode-examples/tree/15725b6e
Diff: http://git-wip-us.apache.org/repos/asf/geode-examples/diff/15725b6e

Branch: refs/heads/master
Commit: 15725b6e5bf2bbca91801e9e187c35371b587f3a
Parents: 712e642
Author: Anthony Baker <abaker@apache.org>
Authored: Wed Jan 18 13:14:23 2017 -0800
Committer: Anthony Baker <abaker@apache.org>
Committed: Thu Jan 19 06:41:08 2017 -0800

----------------------------------------------------------------------
 BUILDING.md | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode-examples/blob/15725b6e/BUILDING.md
----------------------------------------------------------------------
diff --git a/BUILDING.md b/BUILDING.md
new file mode 100644
index 0000000..dc27f9d
--- /dev/null
+++ b/BUILDING.md
@@ -0,0 +1,34 @@
+# Building this Release from Source
+
+Build instructions differ slightly for Unix and Windows platforms.
+All platforms require a Java installation, with JDK 1.8 or more recent version.
+
+## Build from Source on Unix
+
+1. Set the JAVA\_HOME environment variable.  For example:
+
+    ```     
+    JAVA_HOME=/usr/java/jdk1.8.0_60
+    export JAVA_HOME
+    ```
+2. Download the project source from the Releases page at [Apache Geode] (http://geode.apache.org),
and unpack the source code.
+3. Within the directory containing the unpacked source code, build and run the tests:
+    
+    ```
+    $ ./gradlew build
+    ```
+
+## Build from Source on Windows
+
+1. Set the JAVA\_HOME environment variable.  For example:
+
+    ```
+    $ set JAVA_HOME="C:\Program Files\Java\jdk1.8.0_60"
+    ```
+2. Install Gradle, version 3.3 or a more recent version.
+3. Download the project source from the Releases page at [Apache Geode] (http://geode.apache.org),
and unpack the source code.
+4. Within the folder containing the unpacked source code, build and run the tests:
+
+    ```
+    $ gradle build
+    ```


Mime
View raw message