Skip to content

Instantly share code, notes, and snippets.

@jolros
Created November 7, 2013 08:15
Show Gist options
  • Save jolros/7350936 to your computer and use it in GitHub Desktop.
Save jolros/7350936 to your computer and use it in GitHub Desktop.
Diff between an upgraded Grails 2.3.0 -> 2.3.1 project and a new 2.3.4 project, or why detailed migration notes matter in code-copying web frameworks
diff -r 2.3.0/whoopy/application.properties 2.3.1/whoopy/application.properties
2,3c2,3
< #Wed Oct 23 10:21:58 PDT 2013
< app.grails.version=2.3.0
---
> #Wed Oct 23 10:22:32 PDT 2013
> app.grails.version=2.3.1
diff -r 2.3.0/whoopy/grails-app/conf/BuildConfig.groovy 2.3.1/whoopy/grails-app/conf/BuildConfig.groovy
59c59
< compile ":scaffolding:2.0.0"
---
> compile ":scaffolding:2.0.1"
63c63
< runtime ":hibernate:3.6.10.1" // or ":hibernate4:4.1.11.1"
---
> runtime ":hibernate:3.6.10.2" // or ":hibernate4:4.1.11.2"
66c66
< runtime ":resources:1.2"
---
> runtime ":resources:1.2.1"
diff -r 2.3.0/whoopy/grailsw 2.3.1/whoopy/grailsw
38a39
> mingw=false;
46a48,51
>
> MINGW*)
> mingw=true
> ;;
121c126
< STARTER_CLASSPATH="wrapper/grails-wrapper-runtime-2.3.0.jar:wrapper:."
---
> STARTER_CLASSPATH="wrapper/grails-wrapper-runtime-2.3.1.jar:wrapper:."
181a187,192
> if $mingw ; then
> # Converts GRAILS_HOME path to Windows syntax
> [ -n "$GRAILS_HOME" ] &&
> AGENT_GRAILS_HOME=`cmd //C echo "$GRAILS_HOME"`
> fi
>
183c194
< GRAILS_AGENT_CACHE_DIR=~/.grails/2.3.0/
---
> GRAILS_AGENT_CACHE_DIR=~/.grails/2.3.1/
191c202
< AGENT_STRING="-javaagent:wrapper/springloaded-core-1.1.3.jar -noverify -Dspringloaded.synchronize=true -Djdk.reflect.allowGetCallerClass=true -Dspringloaded=$SPRINGLOADED_PARAMS"
---
> AGENT_STRING="-javaagent:wrapper/springloaded-core-1.1.4.jar -noverify -Dspringloaded.synchronize=true -Djdk.reflect.allowGetCallerClass=true -Dspringloaded=$SPRINGLOADED_PARAMS"
diff -r 2.3.0/whoopy/grailsw.bat 2.3.1/whoopy/grailsw.bat
63c63
< if "x%GRAILS_AGENT_CACHE_DIR%" == "x" set GRAILS_AGENT_CACHE_DIR=%SHORTHOME%/.grails/2.3.0/
---
> if "x%GRAILS_AGENT_CACHE_DIR%" == "x" set GRAILS_AGENT_CACHE_DIR=%SHORTHOME%/.grails/2.3.1/
67c67
< set AGENT_STRING=-javaagent:wrapper/springloaded-core-1.1.3.jar -noverify -Dspringloaded.synchronize=true -Djdk.reflect.allowGetCallerClass=true -Dspringloaded=\"%SPRINGLOADED_PARAMS%\"
---
> set AGENT_STRING=-javaagent:wrapper/springloaded-core-1.1.4.jar -noverify -Dspringloaded.synchronize=true -Djdk.reflect.allowGetCallerClass=true -Dspringloaded=\"%SPRINGLOADED_PARAMS%\"
133c133
< set STARTER_CLASSPATH=wrapper/grails-wrapper-runtime-2.3.0.jar;wrapper;.
---
> set STARTER_CLASSPATH=wrapper/grails-wrapper-runtime-2.3.1.jar;wrapper;.
162c162
< set JAVA_OPTS=%JAVA_OPTS% -Dgrails.version=2.3.0
---
> set JAVA_OPTS=%JAVA_OPTS% -Dgrails.version=2.3.1
Only in 2.3.0/whoopy/wrapper: grails-wrapper-runtime-2.3.0.jar
Only in 2.3.1/whoopy/wrapper: grails-wrapper-runtime-2.3.1.jar
Only in 2.3.0/whoopy/wrapper: springloaded-core-1.1.3.jar
Only in 2.3.1/whoopy/wrapper: springloaded-core-1.1.4.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment