From 1423bc64cebc0095278aecf2f7a3ba18b8f9a0cc Mon Sep 17 00:00:00 2001 From: Roy Wetherall Date: Fri, 30 Mar 2012 03:38:50 +0000 Subject: [PATCH] RM build script: * Error handling corrected git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@34908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2bdbc92de7..9a55a875b4 100644 --- a/build.gradle +++ b/build.gradle @@ -115,7 +115,8 @@ subprojects { } } else { - println "Dependant WAR file ${warFile} can not be found. Please place it in ${warFileObj.getPath()} to continue." + logger.error "Dependant WAR file ${warFile} can not be found. Please place it in ${warFileObj.getPath()} to continue." + throw new TaskInstantiationException("Dependant WAR file ${warFile} can not be found. Please place it in ${warFileObj.getPath()} to continue.") } }