From f2a11c19d908e1a06a29fb888ffc75ce35eb87d9 Mon Sep 17 00:00:00 2001 From: yellowsnow Date: Mon, 9 Jun 2014 14:18:06 +0100 Subject: [PATCH] Fix for #61 For Grails 2.4.x compatibility --- scripts/_Events.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_Events.groovy b/scripts/_Events.groovy index 1eaaf0c..391ded5 100644 --- a/scripts/_Events.groovy +++ b/scripts/_Events.groovy @@ -17,7 +17,7 @@ */ import groovy.xml.StreamingMarkupBuilder -import org.codehaus.groovy.grails.commons.ConfigurationHolder +import grails.util.Holders eventCompileEnd = { if (!isPluginProject) { @@ -32,7 +32,7 @@ def buildConfiguration(basedir) { if (!sitemeshXml.exists()) return - def config = ConfigurationHolder.config?.events?.push + def config = Holders.config?.events?.push def urlPattern = config?.servlet?.urlPattern ?: '/g-eventsbus/*' // Write the atmosphere-decorators.xml file in WEB-INF def decoratorsDotXml = """\