From 92f5c5f92bd9d1b53ce889dc69e302735c29f6a0 Mon Sep 17 00:00:00 2001 From: Feroz Panwaskar Date: Mon, 30 Jan 2012 10:28:42 +0000 Subject: [PATCH] Cleanup the script messages --- scripts/_Install.groovy | 6 ++++-- scripts/_Uninstall.groovy | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/_Install.groovy b/scripts/_Install.groovy index 94e418a..856706c 100644 --- a/scripts/_Install.groovy +++ b/scripts/_Install.groovy @@ -1,10 +1,12 @@ includeTargets << new File("$springSecuritySamlPluginDir/scripts/_SamlCommon.groovy") +includeTargets << grailsScript("_GrailsEvents") -printMessage ''' +def message = ''' ******************************************************* * You've installed the Spring Security Saml plugin. * * * * To configure example saml configuration run script * * saml-quickstart * ******************************************************* -''' \ No newline at end of file +''' +event("StatusFinal", [message]) \ No newline at end of file diff --git a/scripts/_Uninstall.groovy b/scripts/_Uninstall.groovy index b9b3f27..e77665f 100644 --- a/scripts/_Uninstall.groovy +++ b/scripts/_Uninstall.groovy @@ -1,6 +1,7 @@ includeTargets << new File("$springSecuritySamlPluginDir/scripts/_SamlCommon.groovy") +includeTargets << grailsScript("_GrailsEvents") -printMessage ''' +def message = ''' ******************************************************* * You've sucessfully uninstalled the * * Spring Security Saml plugin. * @@ -10,4 +11,5 @@ printMessage ''' * in grails-app/conf/Config.groovy. Remove these * * manually if required. * ******************************************************* -''' \ No newline at end of file +''' +event("StatusFinal", [message]) \ No newline at end of file