What is a Slim Bundle?

Starting in September of 2019 there will be an additional option to download “Slim Bundles”.  Slim Bundles will be released for every fix pack and every service pack. Please note that slim bundles are only available for Liferay DXP 7.0 - 7.2 fix packs.

Slim Bundles are the very same code base as traditional bundles. However, they are one third of the traditional bundle in size because the patch source and patching information has been removed.  Slim Bundles are recommended for demos and installations where disk space is limited or costly, making them ideal for cloud or container environments.

WARNING: If you are using a Slim Bundle, you cannot run most of the Patching Tool commands until the patches are restored.

After creating the Slim Bundle only the following Patching Tool commands can be used:

  • auto-discovery
  • info
  • setup

Slim Bundles are created by using the patching-tool separate command. General fix pack installations can also be made slim using this same command.  The patching-tool installs a patch using the patch file (e.g. liferay-fixpack-dxp-10-7110.zip or hotfix-1234.zip) and creates a patching-backup.zip in the process.  These files are necessary for the patching-tool to make any patch changes. The patching-tool separate command removes the patching-backup.zip and the patch source placing them in a liferay-patching-files-[file-name].zip file.  Removing these files reduces the size of the bundle.

Slim Bundles can still be patched, but requires the extra step of restoring the patch and patching files.  The patching files for fix pack and service pack bundles are also made available with the release of the Slim Bundle.

Changes in Liferay DXP 7.3 bundles

Slim bundles will no longer be released with fix pack and service pack bundles starting with Liferay DXP 7.3. In DXP 7.3, the following changes have been made that allow the removal of slim bundles:

(1) fix pack backups are now smaller since lower-level files are now patched;
(2) fix packs are no longer included in the bundle as it is not necessary for hotfixing purposes. 

Customers can use the regular bundles in place of the slim bundles. For customers who are already using an existing slim bundle, no action is needed on their end.


Additional Information

Was this article helpful?
4 out of 4 found this helpful