-
Jul 2nd, 2011, 07:03 AM
#1
Grails version upgrade, which is better approach ?
Hi,
Currently my project is on Grails v1.0.5 and I am planning to upgrade it to the latest, v1.3.7.
Is it better to use the Grails upgrade command or
create an empty project under v1.3.7 and copy the source files across ?
I read some postings recommending the latter approach but am not too sure.
Any other tips on upgrading would be great.
Thanks.
-
Jul 8th, 2011, 09:54 AM
#2
In this case, I would go with the second approach: create a fresh project and copy over your application code from the previous version. Note that things like the default index page (and possibly the errors page) moved at some point. Also, you might want to manually merge files that exist in both projects, such as Config.groovy and UrlMappings.groovy.
-
Jul 11th, 2011, 04:41 AM
#3
Hi,
I did same but I am getting below errors
org.codehaus.groovy.control.multiplecompilationerr orsexception
Unable to resolve class org.apache.commons.httpclient.HttpClient
Unable to resolve class org.apache.commons.httpclient.params.HttpClientPar ams
Any Idea why I an getting these erros?
Thanks
Prasad
-
Jul 11th, 2011, 12:13 PM
#4
Don't forget to copy the libraries (JAR file in 'lib') over to the new project, although I recommend you take this opportunity to declare them as dependencies in BuildConfig.groovy instead.
-
Jul 12th, 2011, 06:47 AM
#5
I tried but still I am getting same problem.
Then I added groovysoap-all-jsr06-0.1 JAR file to lib folder and all the files compiled.
But when I deploy the war file I am getting below error messages
validateJarFile(\\localhost\application\WEB-INF\lib\groovysoap-all-jsr06-0.1 JAR ) - jar not loaded
ERROR RichuiGrailsPlugin - Errror initializing RichUI plugin
Please suggest me to resolve this issue.
Thanks,
Prasad
-
Jul 27th, 2011, 04:22 AM
#6
I would increase the default logging level (perhaps to debug) to see what's going on. Also, check to see whether there is a stacktrace.log file containing an exception stack trace. I don't know why the RichUI plugin would be having problems.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules