From 8e3bde2716feb4b938c51bda130533e36aa2ba29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ronny=20L=C3=B8vtangen?= Date: Tue, 26 Feb 2013 20:22:07 +0100 Subject: [PATCH 1/3] Upgrade to Grails 2.2.1. This fixes the two unit tests (SvnClientUnitTests.testTagWithExceptions and SvnClientUnitTests.testTag) that was broken after upgrade from 2.0.0 to 2.1.0.RC1. Looks like there was a bug with the mocking capabilities, that was introduced in Grails 2.0.2 and fixed in 2.2.1. --- application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.properties b/application.properties index 2a572d8..871eaa3 100644 --- a/application.properties +++ b/application.properties @@ -1,4 +1,4 @@ #Grails Metadata file #Tue Dec 13 15:19:47 GMT 2011 -app.grails.version=2.1.0.RC1 +app.grails.version=2.2.1 app.name=svn From 8f30d9955f5a29bfdbff68eb4335adfe2885c1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ronny=20L=C3=B8vtangen?= Date: Tue, 26 Feb 2013 20:28:26 +0100 Subject: [PATCH 2/3] Upgrade release plugin to 2.2.1. Release plugin no longer pulls in svn plugin, so remove exclude. --- grails-app/conf/BuildConfig.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/grails-app/conf/BuildConfig.groovy b/grails-app/conf/BuildConfig.groovy index 05666c5..ad07655 100644 --- a/grails-app/conf/BuildConfig.groovy +++ b/grails-app/conf/BuildConfig.groovy @@ -22,8 +22,7 @@ grails.project.dependency.resolution = { } plugins { - build(":release:2.0.1") { - excludes "svn" + build(":release:2.2.1") { export = false } } From 1f3a2d16da0f643d7dda788c9388e0bae48e979f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ronny=20L=C3=B8vtangen?= Date: Tue, 26 Feb 2013 20:35:51 +0100 Subject: [PATCH 3/3] Subversion 1.7 support. Library sqljet is now needed, without it you get "java.lang.NoClassDefFoundError: org/tmatesoft/sqljet/core/SqlJetException". --- grails-app/conf/BuildConfig.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grails-app/conf/BuildConfig.groovy b/grails-app/conf/BuildConfig.groovy index ad07655..3f9669e 100644 --- a/grails-app/conf/BuildConfig.groovy +++ b/grails-app/conf/BuildConfig.groovy @@ -13,8 +13,8 @@ grails.project.dependency.resolution = { } dependencies { - compile("org.tmatesoft.svnkit:svnkit:1.3.5") { - excludes "jna", "trilead-ssh2", "sqljet" + compile("org.tmatesoft.svnkit:svnkit:1.7.8") { + excludes "jna", "trilead-ssh2" } test("org.gmock:gmock:0.8.1") { export = false