Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Ease Development with Apache Sling File System Resource Provider - adaptTo() 2017 in Berlin

License

Notifications You must be signed in to change notification settings

adaptto/2017-ease-development-sling-fsresource

Repository files navigation

adaptTo() 2017 - Ease Development with Apache Sling File System Resource Provider

Code samples for talk at adaptTo() 2017 in Berlin:
https://adapt.to/2017/en/schedule/ease-development-with-apache-sling-file-system-resource-provider.html

Requirements

  • Java 8
  • Maven 3.3.9
  • AEM 6.1, 6.2 or 6.3 running on port 4502

Try it out

Deploy Bundle

To deploy the OSGi bundle including the Sling Initial Content to the local AEM instance:

  • Go to bundles/core and execute
mvn install sling:install

Enable File System Resource Provider

To enable the File System Resource provider for the OSGi bundle and sample content FileVault project:

  • Go to bundles/core and execute
mvn sling:fsmount
  • Go to content-packages/sample-content and execute
mvn sling:fsmount
  • Change application content files in the bundle, or FileVault XML files in the sample content package. The changes are reflected immediately in the AEM instance.

Example Variants

There are two variants of this example:

The variant with i18n JSON files takes a bit more time to deploy, because the Sling JCR Content Loader bundle has to be updated.

About

Ease Development with Apache Sling File System Resource Provider - adaptTo() 2017 in Berlin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published