karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Basic Danijel <danijelba...@gmail.com>
Subject Re: How does <conditional> work in feature files
Date Mon, 09 Mar 2015 12:16:30 GMT
Hi Martin,

Could the info on this page https://issues.apache.org/jira/browse/KARAF-1718
help you a little bit?

Regards,
Danijel

On Mon, Mar 9, 2015 at 12:45 PM, Martin Lichtin <lichtin@yahoo.com> 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
>

Mime
View raw message