This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new e95f335 Automatic website deployment from
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/238/
e95f335 is described below
commit e95f335b0915b7e9bc345672f4f9f5b07ae3777f
Author: jenkins <[email protected]>
AuthorDate: Sat Jul 24 09:37:06 2021 +0000
Automatic website deployment from
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/238/
---
documentation/bundles/installer-provider-installhook.html | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/documentation/bundles/installer-provider-installhook.html
b/documentation/bundles/installer-provider-installhook.html
index 80c7c48..a6ab1ab 100644
--- a/documentation/bundles/installer-provider-installhook.html
+++ b/documentation/bundles/installer-provider-installhook.html
@@ -112,11 +112,15 @@
</li>
</ul>
</nav><script src='/res/jquery-3.2.1.min.js'
type='text/javascript'></script><script src='/res/tocjs-1-1-2.js'
type='text/javascript'></script><script
type='text/javascript'>$(document).ready(function() {
$('#generatedToC').toc({'selector':'h1[class!=title],h2,h3','ulClass':'menu-list'});
} );</script><div class="content is-marginless">
-<div class="row"><div><section><h2><a href="#overview"
id="overview">Overview</a></h2>
-<p>The Installer Vault Package Install Hook allows to install bundles and
configurations synchronously during vault package installation by feeding them
directly to the <a href="/documentation/bundles/osgi-installer.html">OSGI
Installer core</a>. That way <a
href="http://jackrabbit.apache.org/filevault/properties.html">vault package
dependencies</a> can be used to not only depend on content of a package, but
also on configurations and bundles contained in a package (the installer
install [...]
+<div class="row"><div><section><h1><a href="#background"
id="background">Background</a></h1>
+<p>Content packages may contain OSGi bundles/configuration which are picked up
asynchronously by the <a href="jcr-installer-provider.html">JCR Installer
Provider</a>. That means that after the installation of a package the contained
bundle/configuration is usually not yet installed.</p>
+<h1><a href="#overview" id="overview">Overview</a></h1>
+<p>The Installer FileVault Package Install Hook allows to install bundles and
configurations synchronously during FileVault/content package installation by
feeding them directly to the <a
href="/documentation/bundles/osgi-installer.html">OSGI Installer core</a>. That
way <a href="http://jackrabbit.apache.org/filevault/properties.html">FileVault
package dependencies</a> can be used to not only depend on content of a
package, but also on configurations and bundles contained in a package (t [...]
<p>NOTE: When using with a package that should be usable with both the <a
href="https://sling.apache.org/documentation/development/feature-model.html">Feature
Model</a> (usually without the <a
href="https://sling.apache.org/documentation/bundles/osgi-installer.html">OSGi
Installer</a>) and <a
href="https://sling.apache.org/documentation/development/slingstart.html">Provisioning
Model</a> (usually with the OSGi Installer), ensure you use version 1.1.0 of
this hook that will auto-detect it [...]
<h2><a href="#installation-process" id="installation-process">Installation
Process</a></h2>
-<p>The Installer Vault Package Install Hook scans through the contained files
and installs bundles (extension <code>jar</code>) and OSGi configurations with
extension <code>config</code> (<code>conf</code> and node configurations are
not supported). Runmode folders (e.g. <code>install.publish</code> or
<code>config.author</code>) are supported. To perform the installation, the
hook registers the installable resources to the OSGi installer core with the
exact same digest as the JCR instal [...]
+<p>The Installer Vault Package Install Hook scans through the contained files
and installs bundles (extension <code>jar</code>) and OSGi configurations with
extension <code>config</code> (<code>conf</code> and node configurations are
not supported). Runmode folders (e.g. <code>install.publish</code> or
<code>config.author</code>) are supported. To perform the installation, the
hook registers the installable resources to the OSGi installer core with the
exact same digest as the JCR instal [...]
+<h2><a href="#pitfalls" id="pitfalls">Pitfalls</a></h2>
+<p>In some cases a synchronous OSGi installer task leads to unavailability of
the method by which the package has been provided (like the <a
href="https://www.composum.com/home/nodes/pckgmgr.html">Composum Package
Manager</a>]. This is often caused by the fact that the <a
href="https://lists.apache.org/thread.html/57d56e31da3c1cb743cf524e0c85e46959f3af9ed946f2c4a41d33c0@%3Cdev.sling.apache.org%3E">Dynamic
Class Loader Provider restarts due to newly provided bundles</a> or the whole
Sling [...]
<h2><a href="#configuration" id="configuration">Configuration</a></h2>
<p>To include the install hook into a content package, use the following
code:</p>
<pre><code><plugin>
@@ -163,7 +167,7 @@
</div><footer class="footer">
<div class="content has-text-centered is-small">
<div class="revisionInfo">
- Last modified by <span
class="author">georg.henzler</span> on <span class="comment">Sat Dec 21
10:39:09 2019 +0100</span>
+ Last modified by <span class="author">Konrad
Windszus</span> on <span class="comment">Sat Jul 24 11:33:34 2021 +0200</span>
</div> <p>
Apache Sling, Sling, Apache, the Apache feather logo,
and the Apache Sling project logo are trademarks of The Apache Software
Foundation. All other marks mentioned may be trademarks or registered
trademarks of their respective owners.
</p><p>