The document describes upgrading a Grails application from version 1.3.7 to 1.4.0.M1. It prompts the user to confirm upgrading, then deletes old files and copies new ones. The upgrade process completes successfully.
6. [tyama@tyamamba]% grails upgrade
Welcome to Grails 1.4.0.M1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /opt/grails-1.4.0.M1
Base Directory: /works/experiment/20110614/v137
Running script Upgrade.groovy
Environment set to development
NOTE: Your application currently expects grails version [1.3.7], this target will upgrade it to Grails
1.4.0.M1 ...
WARNING: This target will upgrade an older Grails application to 1.4.0.M1.
Are you sure you want to continue?
[y,n] y
[delete] Deleting directory /works/experiment/20110614/v137/target/classes
[delete] Deleting directory /Users/tyama/.grails/1.4.0.M1/projects/v137/resources
[copy] Copying 3 files to /works/experiment/20110614/v137/web-app
[copy] Copying 1 file to /works/experiment/20110614/v137/web-app/WEB-INF
[copy] Copying 1 file to /works/experiment/20110614/v137/web-app/WEB-INF
[copy] Copying 4 files to /works/experiment/20110614/v137/web-app/WEB-INF/tld
Installing zip /opt/grails-1.4.0.M1/plugins/grails-hibernate-1.4.0.M1.zip... ...