Thanks for the update Jason.

Let me take a look on that. I keep you posted.

Regards
JB

On 07/01/2015 08:56 PM, Pratt, Jason wrote:
So lowering the xmls to 1.2.0 and the karaf-maven-plugin to 3.0.3 now has the 
features installing and starting as desired.

I did have to modify my feature.xml and removed the dependency="true" from my 
bundle tags for it to work.

Is this a bug in the 1.3.0 and 4.0.0 of the xml and plugin?

-----Original Message-----
From: Pratt, Jason [mailto:[email protected]]
Sent: Wednesday, July 01, 2015 10:59 AM
To: [email protected]
Subject: RE: feature.xml

Yes it works from the command line as expected.

I am using xmlns-1.3.0 with karaf-maven-plugin-4.0.0

I am dropping the feature.xml into the /deploy directory.

I'll drop to 1.2.0 and see if that has any effect, then drop to karaf-maven 
3.0.3 as well

-----Original Message-----
From: Jean-Baptiste Onofré [mailto:[email protected]]
Sent: Wednesday, July 01, 2015 10:15 AM
To: [email protected]
Subject: Re: feature.xml

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


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

Reply via email to