Hi Martin,

It means that:
1/ if the webconsole feature is installed, the bundles will be installed
2/ when the webconsole feature will be installed, the bundles will be installed

The <condition/> contains a feature name but I created Jira to enhance it: for instance, in order to allow feature_name/version_range pattern.

Regards
JB

On 03/09/2015 12:45 PM, Martin Lichtin wrote:
Inside Karaf's "standard" feature descriptor, there is

<conditional>
     <condition>webconsole</condition>
     <bundle 
start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.instance/3.0.3</bundle>
     <bundle 
start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.features/3.0.3</bundle>
     <bundle 
start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.gogo/3.0.3</bundle>
     <bundle 
start-level="30">mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.http/3.0.3</bundle>
</conditional>


I can't find any documentation on the <conditional> tag. Is <condition> 
containing a feature name?

Also I'm puzzled how this entry will affect the situation when I later on do a 
"feature:install webconsole".

And could these 4 bundles not just be listed as part of the "webconsole" 
feature description?

Thanks
- Martin


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to