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

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

commit a753909d150a35d82723734c7e1f33b3e35da095
Author: Robert Houghton <rhough...@pivotal.io>
AuthorDate: Fri Feb 28 10:44:50 2020 -0800

    Simplify geode-install path for running examples
    
    Authored-by: Robert Houghton <rhough...@pivotal.io>
---
 build.gradle | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 06582f8..d4b2302 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,7 +35,7 @@ allprojects {
     }
 }
 
-def installDir = "$buildDir/apache-geode-${geodeVersion}"
+def installDir = "$buildDir/apache-geode"
 
 configurations {
     geodeDistribution
@@ -56,7 +56,11 @@ task installGeode(type: Copy) {
     from {
         tarTree(configurations.geodeDistribution.singleFile)
     }
+    eachFile { fcp ->
+        fcp.path = 
fcp.path.replaceFirst("^apache-geode-[a-zA-Z0-9\\.\\-]+\\/", "apache-geode/")
+    }
     into buildDir
+    includeEmptyDirs false
 }
 
 subprojects {

Reply via email to