The process of upgrading to a new version of Liferay Portal is very similar to the one performed for creating the environment the first time:
Obtain the sources of the new version of Liferay Portal
Create and edit a file named
release.
and set the location of the ext environment:${user.name}
.properties
lp.ext.dir=D:/Projects/liferay/portal/ext
Build the sources and execute the build-ext
target to upgrade the existing environment:
$ ant start $ ant build-ext
The build-ext
target
detects that the specified location for the ext environment already
exists and will only upgrade it, maintaining all changes made in the
appropriate locations
Note | |
---|---|
Be aware that when updating to certain new Liferay Portal version you may need to also upgrade the version of the application server or do other manual changes. Check the upgrade documentation specific to that version for more information. |