简体   繁体   中英

Running grails 2.2.4 on grails 2.5.1

i have Grails project developed with Grails2.2.4 , and the grails installed on my machine is Grails 2.5.1 , how i could run this project on my current Grails version ?

Thanks

If you are able to modify the project itself, you can change the app.grails.version property within the application.properties file.

It should be app.grails.version=2.2.4 , set it accordingly.

You may run into issues with the newer version of grails (beyond the scope of this question), follow this link to help resolve them: http://grails.github.io/grails-doc/2.5.x/guide/upgradingFrom22.html

Not clear from your question, but do you want to RUN the 2.2.4 grails project on your machine, or UPGRADE the 2.2.4 project to 2.5.1?

If simply running the 2.2.4 project, I'd load gvm (now SDKMAN, google it) as the tool of choice for installing and switching grails versions, groovy versions, etc.

The *nix version works great, but I have no experience with the Powershell CLI version for Windows.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM