我正在尝试从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取代了,我现在需要做什么改变吗?
我还将app.grails.version=2.2.4 in application.properties改为2.4.3
发布于 2014-09-10 19:39:21
首先,我们看不到你所做的任何改变。
既然资源插件已被资产管道所取代,我现在是否需要进行更改?
您可以继续使用Grails2.4.3中的资源插件,但是如果您想迁移到资产管道,我建议您在Grails 2.4.3上稳定运行应用程序之后再这样做。
进行更改后,我需要运行什么命令?
grails test-app自动测试您的应用程序是否仍在工作。如果您没有任何测试,运行grails run-app并手动测试它。
https://stackoverflow.com/questions/25773385
复制相似问题