2014-09-10 65 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

相關問題