[gradle] print the stack trace even when failure is not instance of GradleException
gil
gil at fedoraproject.org
Mon Apr 22 13:02:18 UTC 2013
commit 84f802ecbaeca6f7ed8b765ff62d5f0df03dc7e5
Author: gil <puntogil at libero.it>
Date: Mon Apr 22 15:02:03 2013 +0200
print the stack trace even when failure is not instance of GradleException
gradle.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gradle.spec b/gradle.spec
index 4a4f4b2..1962f6a 100644
--- a/gradle.spec
+++ b/gradle.spec
@@ -30,14 +30,13 @@
Name: gradle
Version: 1.0
-Release: 13%{?nameddottag}%{?dist}
+Release: 14%{?nameddottag}%{?dist}
Summary: Groovy based build system
Group: Development/Tools
License: ASL 2.0
Url: http://www.gradle.org/
Source0: http://services.gradle.org/distributions/gradle-%{namedversion}-src.zip
Source3: gradle-%{namedversion}-wrapper
-#Source4: gradle-%{namedversion}-build.xml
Source4: gradle-%{namedversion}-build.xml
Source5: gradle.desktop
@@ -368,7 +367,8 @@ done
%endif
%patch31 -p0
-
+# print the stack trace even when failure is not instance of GradleException
+sed -i "s|//failure.printStackTrace();|failure.printStackTrace();|" subprojects/core/src/main/groovy/org/gradle/BuildExceptionReporter.java
%build
%if %bootstrap
@@ -579,6 +579,9 @@ fi
%doc LICENSE NOTICE
%changelog
+* Mon Apr 22 2013 gil cattaneo <puntogil at libero.it> 1.0-14
+- print the stack trace even when failure is not instance of GradleException
+
* Tue Apr 16 2013 gil cattaneo <puntogil at libero.it> 1.0-13
- force full details for build failure PATCH31
- bootstrap mode
More information about the scm-commits
mailing list