You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2016/03/31 23:52:35 UTC

incubator-geode git commit: GEODE-1157: Produce mvn log output on failure

Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-78 67a9b5ff3 -> aad5d66c5


GEODE-1157: Produce mvn log output on failure


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

Branch: refs/heads/feature/GEODE-78
Commit: aad5d66c5fff4af41c64ed51287edfc33759feac
Parents: 67a9b5f
Author: Jens Deppe <jd...@pivotal.io>
Authored: Thu Mar 31 14:52:23 2016 -0700
Committer: Jens Deppe <jd...@pivotal.io>
Committed: Thu Mar 31 14:52:23 2016 -0700

----------------------------------------------------------------------
 geode-jvsd/build.gradle | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/aad5d66c/geode-jvsd/build.gradle
----------------------------------------------------------------------
diff --git a/geode-jvsd/build.gradle b/geode-jvsd/build.gradle
index e9c13b6..a736ed5 100755
--- a/geode-jvsd/build.gradle
+++ b/geode-jvsd/build.gradle
@@ -79,9 +79,18 @@ task MultiAxisChartFX {
 		println "Cloning MultiAxisChartFX... Done!"
 
 		println "Installing MultiAxisChartFX into local maven repository..."
-		ant.exec(executable: 'mvn', dir: 'build/MultiAxisChartFX') {
-			arg(line: 'clean install')
-		}
+
+                def mvnStdout = new ByteArrayOutputStream()
+                try {
+                  exec {
+                    workingDir = 'build/MultiAxisChartFX'
+                    commandLine = ['mvn', 'clean', 'install']
+                    standardOutput = mvnStdout
+                  }
+                } catch (Throwable e) {
+                  println mvnStdout.toString()
+                  throw e
+                }
 		println "Installing MultiAxisChartFX into local maven repository... Done!"
 	}
 }