JCR Installer (jcr.jcrinstall and osgi.installer)Page added by Bertrand DelacretazOverviewThe JCR installer modules install OSGi bundles and configurations found in the JCR repository. The goal is to allow Sling applications to be distributed as "content packages", which install additional services and configurations when copied to the JCR repository. ExampleHere's a quick walkthrough of the JCR installer functionality. InstallationStart the Sling launchpad/app and install and start the following additional bundles:
To watch the logs produced by these modules, you can filter sling/logs/error.log using egrep 'jcrinstall|osgi.installer'. Install and remove a bundleWe'll use the Knopflerfish Desktop bundle for this example, it is convenient as it displays a graphical user interface when started. We use curl to create content, to make it easy to reproduce the example by copying and pasting the curl commands. Any other way to create content in the repository will work, of course. By default, JCRinstall picks up bundles found in folders named install under /libs and /apps, so we start by creating such a folder: curl -X MKCOL http://admin:ad...@localhost:8888/apps/jcrtest curl -X MKCOL http://admin:ad...@localhost:8888/apps/jcrtest/install
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Sling Website > JCR Installer (jcr.jcrinstall ... confluence
- [CONF] Apache Sling Website > JCR Installer (jcr.jcrins... confluence
- [CONF] Apache Sling Website > JCR Installer (jcr.jcrins... confluence
- [CONF] Apache Sling Website > JCR Installer (jcr.jcrins... confluence
- [CONF] Apache Sling Website > JCR Installer (jcr.jcrins... confluence
- [CONF] Apache Sling Website > JCR Installer (jcr.jcrins... confluence
- [CONF] Apache Sling Website > JCR Installer (jcr.jcrins... confluence
- [CONF] Apache Sling Website > JCR Installer (jcr.jcrins... confluence