I guess it works with feature:repo-add && feature:install, right ?

What xmlns are you using ? Can you try with 1.2.0 ?

Regards
JB

On 07/01/2015 07:11 PM, Pratt, Jason wrote:
Hello – I am trying out karaf-4.0.0 and wanted to see how feature.xml
are working in the /deploy directory. Is there a way to add a feature to
a feature.xml and have it install itself?

Example:

<featurename=/"myFeature"/ description=/"test jndi for Karaf"/
install=/"auto"/ version=/"1.0.0"/>

<featuredependency=/"true"/>_jndi_</feature>

</feature>

I see it does add the repo, but doesn’t install the feature.

If I am reading http://karaf.apache.org/xmlns/features/v1.3.0 correctly,
install=auto won’t work for the jndi feature. Is there another way to
have it install itself from a features xml file?

Thanks,

Jason


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to