You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by ld...@apache.org on 2016/02/27 21:29:20 UTC
[2/2] karaf git commit: [KARAF-5365] Added section in docs about
prerequisite attribute.
[KARAF-5365] Added section in docs about prerequisite attribute.
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/6a9ca438
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/6a9ca438
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/6a9ca438
Branch: refs/heads/master
Commit: 6a9ca438ccf284cd5a36b2e51768172d21290110
Parents: cf896d4
Author: Łukasz Dywicki <lu...@code-house.org>
Authored: Sat Feb 27 21:11:42 2016 +0100
Committer: Łukasz Dywicki <lu...@code-house.org>
Committed: Sat Feb 27 21:27:00 2016 +0100
----------------------------------------------------------------------
manual/src/main/asciidoc/developer-guide/creating-bundles.adoc | 2 ++
manual/src/main/asciidoc/user-guide/provisioning.adoc | 4 ++++
2 files changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/6a9ca438/manual/src/main/asciidoc/developer-guide/creating-bundles.adoc
----------------------------------------------------------------------
diff --git a/manual/src/main/asciidoc/developer-guide/creating-bundles.adoc b/manual/src/main/asciidoc/developer-guide/creating-bundles.adoc
index 8c8e8d8..d816421 100644
--- a/manual/src/main/asciidoc/developer-guide/creating-bundles.adoc
+++ b/manual/src/main/asciidoc/developer-guide/creating-bundles.adoc
@@ -127,6 +127,8 @@ Important notice : Add as child of your feature definition, the reference to wra
<feature prerequisiste="true">wrap</feature>
----
+Additional information about meaning of `prerequisiste` attribute can be found in link:provisioning[Feature prerequisites] description.
+
For instance :
----
http://git-wip-us.apache.org/repos/asf/karaf/blob/6a9ca438/manual/src/main/asciidoc/user-guide/provisioning.adoc
----------------------------------------------------------------------
diff --git a/manual/src/main/asciidoc/user-guide/provisioning.adoc b/manual/src/main/asciidoc/user-guide/provisioning.adoc
index 5dffb86..789ac88 100644
--- a/manual/src/main/asciidoc/user-guide/provisioning.adoc
+++ b/manual/src/main/asciidoc/user-guide/provisioning.adoc
@@ -225,6 +225,10 @@ If a single version is specified, this version will be chosen.
If nothing is specified, the highest available will be installed.
+===== Feature prerequisites
+
+Prerequisite feature is special kind of dependency. If you will add `prerequisite` attribute to dependant feature tag then it will force installation and also activation of bundles in dependant feature before installation of actual feature. This may be handy in case if bundles enlisted in given feature are not using pre installed URL such `wrap` or `war`.
+
==== Feature configurations
The `<config/>` element in a feature XML allows a feature to create and/or populate a configuration (identified by a configuration PID).