Hi

we are currently building more and more features for our custom assembly and we have problems of understanding the differences of:

1. A depending feature
2. A depending feature with prerequisite=true
3. A depending feature with dependency=true


Here is what we understand (or at least think we understand) so far.

1.
<feature name="foo">
    <feature dependency="false" prerequisite="false">bar</feature>
</feature>
The feature foo depends on feature bar. So if you install feature foo, then feature bar is also installed. Additionally when we create feature foo via maven plugin, no bundle that already exists in feature bar we be added to the bundle list.

2.
<feature name="foo">
    <feature dependency="false" prerequisite="true">bar</feature>
</feature>
The feature bar is prerequisite of feature foo and will therefore be 'started' before feature foo is installed.

3.
<feature name="foo">
    <feature dependency="true" prerequisite="false">bar</feature>
</feature>
We can't figure out what this configuration does.

Please tell me if we are understanding the 1. and 2. part correctly and help me understand what the 3. part means.

Kind regards
Matthias

Reply via email to