Just a side node, in Karaf 2.4.x/3.x, you have the conditional feature:
<feature name="foobar" version="1.0">
...
<conditional>
<condition>foo</condition>
<bundle>mvn:..../bar</bundle>
</conditional>
</feature>
In that case, when you install the foobar feature, if the foo feature is
already installed, the bar bundle will be install (not else).
Regards
JB
On 07/23/2014 02:13 PM, SvS wrote:
Hi,
I want to start/install/execute bundle/code/feature on a condition. What is
the normal way (in OSGI/ karaf) to do?
Regards,
SvS
--
View this message in context:
http://karaf.922171.n3.nabble.com/How-to-run-activate-code-on-a-condition-tp4034399.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com