2014-09-10 83 views
0

我试图从升级到2.2.42.4.3如何升级从2.2.4到2.4.3

什么是做到这一点的最好方法是什么?我做了我的BuildConfig.groovy

plugins { 
    runtime ':hibernate4:4.3.5.2' 
    runtime ':jquery:1.11.0.2' 
    runtime ":jquery-ui:1.8.24" 
    //runtime ":resources:1.2" 
    runtime ':twitter-bootstrap:3.2.0.2' 
    compile ':spring-security-core:2.0-RC4' 
    compile ":rabbitmq:1.0.0" 
    compile (":events-push:1.0.M7") { 
     excludes "resources" 
    } 
    compile ":rest-client-builder:1.0.3" 
    test(":spock:0.7") { 
     exclude "spock-grails-support" 
    } 
    build ':tomcat:7.0.52.1' 
    runtime ':database-migration:1.4.0' 
    compile ':cache:1.1.3' 
    compile ":pretty-time:0.3" 
    compile ":tagcloud:0.3" 
    compile ':asset-pipeline:1.8.3' 
} 

以下变化使我需要什么命令更改后?有没有改变我现在需要做的是,由于resources插件被替换为asset-pipeline

我也application.properties改变app.grails.version=2.2.42.4.3

回答

0

首先,我们不能真正看到任何的改变”做了。

是否有改变我现在需要做的是,由于资源插件被替换资产管道

如果要迁移到您可以继续使用Grails的2.4.3的资源插件,但资产管道,我建议你在Grails 2.4.3上稳定运行应用程序之后再做。

进行更改做什么命令我需要运行

grails test-app自动测试您的应用是否仍在工作后。如果您没有任何测试,请运行grails run-app并手动测试。

+0

好吧,我在使用2.4.3运行应用程序时遇到了很多错误。我会为这些人开一个新的问题。如果我手动更改'application.properties',这很好吗? – birdy 2014-09-10 19:45:04

+0

@birdy您可以手动更新版本或运行'set-grails-version'命令。 – 2014-09-10 19:46:18