Hi,
If you use directly features.xml, there's no way to manage the features
deployment order via the deploy folder (or just put the features XML in
the right order).
If you want to absolutely want to use the deploy folder, use a kar file
(which embed the features XML).
Else use bootFeatures (in etc/org.apache.karaf.features.cfg): you can
specify the deployment order (it will act as using the features:* commands).
Regards
JB
On 09/04/2013 04:59 PM, Mohammad Shadab Ali wrote:
Hi,
I am facing issue with karaf(2.3.2) features. I have 10 features
xml(F1-F10) placed in the karaf deploy folder.
Feature F2-F10 is dependent upon F1. When I deploy the features one by
one in deploy folder all the features gets installed successfully.
But when I restart karaf, only feature F1 gets installed and rest of the
features are in uninstalled state. Then I manually start the uninstalled
features using features:install command each time.
Is there any way where I can define the dependency between two features xml.
Thank you in advance.
Regards,
Shadab
------------------------------------------------------------------------
*** This e-mail (and any attachments), is confidential and may be
privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or
attachments) and disclosure or copying of its
contents or any action taken in reliance on it is unlawful. Unintended
recipients must notify the sender immediately
by e-mail/phone & delete it from their system without making any copies
or disclosing it to a third person.***
This e-mail (and any attachments), is confidential and may be privileged. It
may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and
disclosure or copying of its
contents or any action taken in reliance on it is unlawful. Unintended
recipients must notify the sender immediately
by e-mail/phone & delete it from their system without making any copies or
disclosing it to a third person.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com