I still cannot see my features and I don't have a clue why.

Is there a trace I can activate/check to understand what the problem is?

JP


-----Message d'origine-----
De : CLEMENT Jean-Philippe [mailto:[email protected]] 
Envoyé : jeudi 14 novembre 2013 18:31
À : [email protected]
Objet : RE: Feature addition without running Karaf

I created the following file path under system:
        org/test/features/sample/1.0.0/sample-1.0.0-features.xml

and added in the org.apache.karaf.features.cfg:
        featuresRepositories=...,mvn:org.test.features/sample/1.0.0/xml/features
        featuresBoot=...,sample

But when I start Karaf and list the features I don't see sample. Missed 
something?

JP

-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : jeudi 14 novembre 
2013 18:06 À : [email protected] Objet : Re: Feature addition without 
running Karaf

In etc/org.apache.karaf.features.cfg, you have:

- the featuresRepositories property that define the location of the 
features.xml (in the system Maven repository or on remote Maven
repositories)
- the featuresBoot is the list of the features to automatically install at 
startup (as the features XML files define a bunch of the features, so you can 
pick up the ones that you want to automatically start).

Regards
JB

On 11/14/2013 06:00 PM, CLEMENT Jean-Philippe wrote:
> Great, I found a featuresBoot entry which already refers to 
> config,standard,... but I don't find related xml files. What is the 
> featuresBoot syntax and where to put "my-features.xml"?
>
> JP
>
>
>
> -----Message d'origine-----
> De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : jeudi 14 
> novembre 2013 17:52 À : [email protected] Objet : Re: Feature 
> addition without running Karaf
>
> You can define your feature as a bootFeatures (just define it in 
> etc/org.apache.karaf.features.cfg file).
>
> You can also create a kar file using your features.xml and drop the kar file 
> in the deploy folder.
>
> Regards
> JB
>
> On 11/14/2013 05:49 PM, CLEMENT Jean-Philippe wrote:
>> I already have a "my-features.xml". At present time when I install Karaf I 
>> also have to run it and enter the command "feature:repo-add 
>> file://whatever/my-features.xml".
>>
>> I would like to do the same but without running Karaf, I guess via changing 
>> some config files.
>>
>> JP
>>
>>
>> -----Message d'origine-----
>> De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : jeudi 14 
>> novembre 2013 17:39 À : [email protected] Objet : Re: Feature 
>> addition without running Karaf
>>
>> Hi JP,
>>
>> You mean like in a kar ?
>>
>> What do you mean exactly by "declare features without running Karaf" ?
>> You mean create the features XML ?
>>
>> Regards
>> JB
>>
>> On 11/14/2013 05:34 PM, CLEMENT Jean-Philippe wrote:
>>> Dear experts,
>>>
>>> I would like to create a custom Karaf installation archive. Is there a way 
>>> to declare features without running Karaf?
>>>
>>> JP
>>>
>>
>
> --
> 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