Upgrading to the newest version of JHipster
JHipster provides an upgrade sub-generator (http://www.jhipster.tech/upgrading-an-application/) to help you upgrade an application with a new JHipster version of it. It is quite useful as it automates a lot of manual steps for you, and the only thing you need to do is resolve merge conflicts if there are any after the upgrade is complete. Let's upgrade our application, shall we?
- In your Terminal, execute the
jhipster upgrade
command. The upgrade process will start if there is a new version of JHipster available; otherwise the process will exit.
Once the process starts, you will see a detailed console log of what is going on. As you can see, this sub-generator uses the global JHipster version instead of the local one, unlike other sub-generators:
Using JHipster version installed globally
Executing jhipster:upgrade
Options:
Welcome to the JHipster Upgrade Sub-Generator
This will upgrade your current application codebase to the latest JHipster version...