Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

PackageHandlers

Mikołaj Mański edited this page Jul 12, 2016 · 1 revision

Package Handlers

Bobcat provides utilities for uploading and installing crx packages into the AEM.

Package installation

Consider following package: Package

In order to install this package, just run following code:

@Inject
private ContentInstaller installer;
//...
    installer.installCqPackage("installCqPackageTest");

Upload and activate package

There is also a possibility to install upload and activate package stored in the project directory. Zip file should be placed in src/main/content directory. If you wish to change package directory, just set following property:

content.path = my/custom/directory/

Example usage:

@Inject
private ContentInstaller installer;
//...
    installer.activateCqPackage("activateCqPackageTest.zip")

Getting started with Bobcat

  1. Getting started

AEM Related Features

  1. Authoring tutorial - Classic
  1. AEM Classic Authoring Advanced usage
  1. Authoring tutorial - Touch UI
Clone this wiki locally