Expand my Community achievements bar.

How does AEM 6 track autoinstalled packages?

Avatar

Level 2

How does AEM 6 keep track of which package files in the crx-quickstart/install folder have already been installed?

I've seen this: How to install CRX packages automatically on server startup but that only seems to tell me that CQ5 tracked them with properties files and I can't find any for AEM 6.

3 Replies

Avatar

Level 10

AEM knows which package has been installed.

Installing Packages Automatically on CRX startup

The CRX application includes a directory named crx-quickstart/repository/installthat can be used for installing CRX packages automatically on CRX application startup. This feature is called the CRX Auto Installer. Packages that are copied to this folder will be installed in alphabetical order.

CRX Auto Installer controls this behavior. The exact detail on how it performs this task is handled at the code level and not information that will go into a doc.

Avatar

Employee Advisor

The files are managed via OSGI using a pretty complex mechanism (I stopped trying to understand it).

You can find the code here: [Apache-SVN] Index of /sling/trunk/installer/providers/file

Jörg

Avatar

Level 2

Ok, sounds like it is not as simple as 'it keeps a list of them here'.