3. /ext/ext-ear

Contains the Liferay Portal build artifacts upon which the environment is based. The modules subdirectory contains the file of a Liferay Portal ear unzipped.

Run ant deploy from /ext/ext-ear to deploy your custom EAR to your specified application server (see /ext/app.server.properties). Your custom EAR utilizes the Liferay Portal JARs and WARs contained in /ext/ext-ear/modules. This allows you to easily upgrade Liferay Portal because all the functionality is packed into archives.