diff --git a/CometdGrailsPlugin.groovy b/CometdGrailsPlugin.groovy index 3f82d3a..ea06aa4 100644 --- a/CometdGrailsPlugin.groovy +++ b/CometdGrailsPlugin.groovy @@ -25,7 +25,7 @@ import org.cometd.bayeux.server.BayeuxServer import org.springframework.web.context.support.ServletContextAttributeExporter class CometdGrailsPlugin { - def version = "0.2.2" + def version = "0.2.6" def grailsVersion = "1.2.1 > *" def dependsOn = [:] def pluginExcludes = [ @@ -83,7 +83,8 @@ CometD and the Bayeux protocol. } def doWithSpring = { - bayeux(BayeuxServerImpl, true) { bean -> + bayeux(BayeuxServerImpl) { bean -> + bean.initMethod = 'start' bean.destroyMethod = 'stop' } diff --git a/application.properties b/application.properties index 021ea07..f77662e 100644 --- a/application.properties +++ b/application.properties @@ -1,9 +1,9 @@ -#Grails Metadata file -#Tue Oct 19 04:56:43 GMT+01:00 2010 -app.grails.version=1.3.5 -app.name=grails-cometd -app.servlet.version=2.4 -app.version=0.1 -plugins.functional-test=1.2.7 -plugins.hibernate=1.3.5 -plugins.tomcat=1.3.5 +#Grails Metadata file +#Fri Jul 05 16:00:34 BRT 2013 +app.grails.version=1.3.7 +app.name=grails-cometd +app.servlet.version=2.4 +app.version=2.6.0 +plugins.functional-test=1.2.7 +plugins.hibernate=1.3.7 +plugins.tomcat=1.3.7 diff --git a/grails-app/conf/BuildConfig.groovy b/grails-app/conf/BuildConfig.groovy index 84be2a4..c3a730f 100644 --- a/grails-app/conf/BuildConfig.groovy +++ b/grails-app/conf/BuildConfig.groovy @@ -24,7 +24,7 @@ grails.project.dependency.resolution = { mavenCentral() } dependencies { - def cometdVer = '2.0.0' + def cometdVer = '2.6.0' compile(group: 'org.cometd.java', name: 'cometd-java-server', version: cometdVer) { excludes 'servlet-api' }