Skip to content
Bertrand de Coatpont edited this page May 19, 2016 · 14 revisions

The AEM Demo Machine is delivered as an ANT project.

You can run ANT targets, the most important ones being listed below. For Command Line options, you can use the ANT version shipping with the demo machine (/ant/bin), or your own ANT release equipped with the ant-contrib-1.0b3.jar extension available in the /ant/lib folder. If you want to use the bundled version of ANT, make sure the "execute" permission (chmod 755 * in /ant/bin) are set and that /ant/bin is part of your PATH environment variable.

Used from a Command Line, the following targets are available:

Target Description
install Installs then starts a new demo environment, using a number of properties to configure your new demo instance. All the properties required for the install (demo.build, demo.jar, demo.store, demo.type, demo.srp, demo.license, demo.servicepack) come with some default values, so they all are optional. See the Command Line Samples page for typical usage patterns. For the "ant install" command to work without using the -Ddemo.build parameter, you need to have a file named snapshot.jar under ./dist/bin, unless you update the default demo.jar property value in ./conf/build-personal.properties
demo Installs then starts a new demo environment then loads a set of demo packages for typical AEM demos. The quickest way to get a full demo environment ready to go! Essentially, this target does install+configure
create Installs then starts a new demo environment then loads a set of demo addons as per the demo.addons.* properties with a true value
demo_sites Installs then starts a new demo environment optimized for AEM Sites. The quickest way to demonstrate all of AEM Sites capabilities. This includes the Site Design Wizard and the Translations.com integration. If you want to include AEM Screens, run the "ant download_sites" target first.
demo_communities Installs then starts a new demo environmnent optimized for AEM Communities. The quickest way to demonstrate all of AEM Communities capabilities! Essentially, this target does install+configure+communities
demo_assets Installs then starts a new demo environment optimized for AEM Assets. The quickest way to demonstrate all of AEM Assets, including Dynamic Media, capabilities. Essentially, this target does install+configure+assets
demo_forms Installs then starts a new demo configuration optimized for AEM Forms. The quickest way to demonstrate all of AEM Forms capabilities. This works only on MacOS. Includes the Forms add-on and the Forms demo site. Essentially, this target does install+configure+forms
demo_apps Installs then starts a new demo configuration optimized for AEM Apps. The quickest way to demonstrate all of AEM Apps capabilities. This target does install + configure + apps
demo_commerce Installs then starts a new demo configuration optimized for AEM Commerce. The quickest way to demonstrate all of the AEM Commerce capabilities with Elastic Path. This target does install + configure + commerce
demo_kitchensink Installs then starts a new demo configuration with all possible options for Sites, Communities, Assets and Forms. The quickest way to demonstrate AEM Sites, AEM Communities, AEM Apps, AEM Forms, AEM Assets... Essentially, this target does install+configure+assets+forms+communities
download_snapshot Downloads the latest AEM snapshot from the Adobe internal servers as snapshot.jar under ./dist/bin. Proceed with caution as not all builds are stable (smile). You can change the downloaded file in the build.properties file via the demo.snapshot property.
download_sites Downloads the latest AEM Sites feature pack from the Adobe internal servers as sites-fp.zip under ./dist/sites. Note:Contains the first release of AEM Screens
download_communities Downloads the latest AEM Communities uber from the Adobe internal servers as communities.zip under ./dist/downloads. Proceed with caution as not all builds are stable.
download_scorm Downloads the latest AEM Communities SCORM bundle. This is required if you intend to load SCORM compatible content (with tests and quizzes) in AEM Communities for enablement purposes
download_forms_fp Downloads the latest AEM Forms addons and Demo site from the Adobe internal servers under ./forms. Proceed with caution as not all builds are stable.
download_livefyre Downloads the latest AEM/Livefyre integration feature pack
start Starts an existing demo configuration using its name
stop Stops an existing demo configuration using its name. On Unix/MacOS, the target runs a Shell script with a kill -9 instructions, or Windows it runs a TASKKILL.EXE
configure Uploads then installs a number of AEM packages into each of the AEM instances for a specific demo configuration. The current AEM version is dynamically retrieved and determines where the packages are loaded from (e.g. /dist/packages/aem61 for AEM 6.1). You can add your own set of packages to the default
infrastructure Downloads and installs MongoDB, SOLR, MySQL and FFMPEG. Caution: This works on MacOS only. MongoDB and SOLR are required when using the demo.srp=MSRP for AEM Communities or/and MongoMK via demo.store=crx3,crx3mongo options. MySQL and FFMPEG are required when using the "AEM Communities" enablement add-on and its SCORM tracking and reporting features.
backup Creates a backup of an existing demo configuration using its name. The target creates a new .zip file for each AEM instance of the demo configuration. This only works for TarMK based demo environments (doesn't support the crx3, crx3mongo demo.store property)
restore Restores a backup of a demo configuration previously backed up, using its name
archive Creates a new archived version of the AEM Demo Machine scripts and settings and add-on. The target creates a new .zip file, and doesn't include the demo configurations in it
sites Loads the Sites add-on demo assets. The loaded packages can be found under /dist/sites
communities Loads the Communities add-on demo assets. The loaded packages can be found under /dist/communities. Content and site are mostly created from a script (therefore not in a package) out of .csv files under /dist/communities/sites and /dist/communities/content
assets Loads the dynamic media demo assets. The loaded packages can be found under /dist/assets
apps Loads the apps demo assets. The loaded packages can be found under /dist/apps
commerce Loads the commerce demo assets. The loaded packages can be found under /dist/commerce
livefyre Loads the Livefyre demo assets. The loaded packages can be found under /dist/downloads (use download_livefyre target to get the bits)
Clone this wiki locally