I am getting some error while upgrade. What I did was:
- I downloaded Grails 2.3.0.M1, extracted, and changed in Eclipse -> Preferences->Groovy->Grails also.
- Changed the Groovy compile 1.8 to 2.0.7
- I check out my Grails app from svn, it already working app with Grails 2.14.
I changed this one in BuildConfig.groovy
forkConfig = [maxMemory: 1024, minMemory: 64, debug: false, maxPerm: 256] grails.project.fork = [ test: forkConfig, // configure settings for the test-app JVM run: forkConfig, // configure settings for the run-app JVM war: forkConfig, // configure settings for the run-war JVM console: forkConfig // configure settings for the Swing console JVM ] grails.project.dependency.resolver = "maven" // or ivyFinally I run grails upgrade, I am getting error like this:
Error org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies
So, I removed the previous added lines from BuildConfig.groovy.
Now, Grails upgrade, is working fine. But it downloading lot of jars into ivy-cache.
Once the upgrade is done (success). If I add then again I add those lines to BuildConfig.groovy, everything is working fine.
But, the problem is, I should able to do upgrade in the first time itself. First time even not only upgrade even Grails clean also not working. After upgrade is done only any Grails commands working.