Browse Source

upgrade to Grails 2.3.6, remove workaround for GRAILS-10823

Lari Hotari 11 years ago
parent
commit
a12a9b7362

+ 1 - 1
config/benchmark_profile

@@ -1,6 +1,6 @@
 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
 export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
 export RESIN_HOME=~/FrameworkBenchmarks/installs/resin-4.0.36
 export RESIN_HOME=~/FrameworkBenchmarks/installs/resin-4.0.36
-export GRAILS_HOME=~/FrameworkBenchmarks/installs/grails-2.3.3
+export GRAILS_HOME=~/FrameworkBenchmarks/installs/grails-2.3.6
 export VERTX_HOME=~/FrameworkBenchmarks/installs/vert.x-2.1M3
 export VERTX_HOME=~/FrameworkBenchmarks/installs/vert.x-2.1M3
 export GOROOT=~/FrameworkBenchmarks/installs/go
 export GOROOT=~/FrameworkBenchmarks/installs/go
 export GOPATH=~/FrameworkBenchmarks/go:~/FrameworkBenchmarks/webgo:~/FrameworkBenchmarks/revel
 export GOPATH=~/FrameworkBenchmarks/go:~/FrameworkBenchmarks/webgo:~/FrameworkBenchmarks/revel

+ 1 - 1
grails/README.md

@@ -4,7 +4,7 @@ This is the Grails portion of a [benchmarking test suite](../) comparing a varie
 
 
 ## Infrastructure Software Versions
 ## Infrastructure Software Versions
 The tests were run with:
 The tests were run with:
-* [Grails 2.3.3](http://grails.org/)
+* [Grails 2.3.6](http://grails.org/)
 * [Java OpenJDK 1.7.0_09](http://openjdk.java.net/)
 * [Java OpenJDK 1.7.0_09](http://openjdk.java.net/)
 * [Resin 4.0.34](http://www.caucho.com/)
 * [Resin 4.0.34](http://www.caucho.com/)
 * [MySQL 5.5.29](https://dev.mysql.com/)
 * [MySQL 5.5.29](https://dev.mysql.com/)

+ 2 - 2
grails/hello/application.properties

@@ -1,6 +1,6 @@
 #Grails Metadata file
 #Grails Metadata file
-#Sun Oct 20 22:08:59 EEST 2013
-app.grails.version=2.3.3
+#Tue Feb 25 10:29:09 EET 2014
+app.grails.version=2.3.6
 app.name=hello
 app.name=hello
 app.servlet.version=2.5
 app.servlet.version=2.5
 app.version=0.1
 app.version=0.1

+ 3 - 3
grails/hello/grails-app/conf/BuildConfig.groovy

@@ -59,11 +59,11 @@ grails.project.dependency.resolution = {
     dependencies {
     dependencies {
         // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
         // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
 
 
-        runtime 'mysql:mysql-connector-java:5.1.27'
+        runtime 'mysql:mysql-connector-java:5.1.29'
     }
     }
 
 
     plugins {
     plugins {
-        runtime ":hibernate:3.6.10.4"
+        runtime ":hibernate:3.6.10.8"
         //runtime ":jquery:1.10.2"
         //runtime ":jquery:1.10.2"
         //runtime ":resources:1.2.1"
         //runtime ":resources:1.2.1"
 
 
@@ -72,6 +72,6 @@ grails.project.dependency.resolution = {
         //runtime ":cached-resources:1.0"
         //runtime ":cached-resources:1.0"
         //runtime ":yui-minify-resources:0.1.4"
         //runtime ":yui-minify-resources:0.1.4"
 
 
-        build ":tomcat:7.0.47"
+        build ":tomcat:7.0.50.1"
     }
     }
 }
 }

+ 0 - 19
grails/hello/grails-app/conf/JsonWorkaroundBootStrap.groovy

@@ -1,19 +0,0 @@
-import org.codehaus.groovy.grails.web.json.JSONObject
-import org.springframework.util.ClassUtils
-import org.springframework.util.ReflectionUtils
-
-class JsonWorkaroundBootStrap {
-    def init = { servletContext ->
-        // activate workaround for GRAILS-10823
-        println("activating workaround for GRAILS-10823 - use this only for Grails 2.3.3")
-        def encoderInstance = ClassUtils.forName("org.codehaus.groovy.grails.plugins.codecs.JSONEncoder", JSONObject.class.getClassLoader()).newInstance()
-        ['javascriptEncoderStateless', 'javascriptEncoder'].each { fieldName ->
-            ReflectionUtils.findField(JSONObject, fieldName).with {
-                accessible = true
-                set(null, encoderInstance)
-            }
-        }
-    }
-    def destroy = {
-    }
-}

+ 2 - 2
toolset/setup/linux/installer.py

@@ -278,8 +278,8 @@ class Installer:
     #
     #
     # Grails
     # Grails
     #
     #
-    self.__download("http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.3.3.zip")
-    self.__run_command("unzip -o grails-2.3.3.zip")
+    self.__download("http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.3.6.zip")
+    self.__run_command("unzip -o grails-2.3.6.zip")
 
 
     #
     #
     # Play 2
     # Play 2