karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Extremely verbose and strange bundle name in Karaf 4.2.2
Date Thu, 07 Mar 2019 13:02:52 GMT
Hi,

did you try to set the bundle symbolic-name in the wrap URL ?
($Bundle-SymbolicName) Else it creates an UUID.

Regards
JB

On 07/03/2019 14:00, abdelb wrote:
> I want to have xalan.jar wrapped as a feature in my custom distribution. To
> do this I write: 
> 
> /<feature name="xalan" version="${xalan.version}">
>     <bundle>wrap:mvn:xalan/${xalan.version}</bundle>
> </feature> /
> 
> But when deployed on my Karaf instance in bundle:list it has a
> horrible/unreadable name: 
> 
> /wrap_file_<very long path>_system_xalan_2.7.2_xalan-2.7.2.jar/
> 
> Is there a way to have a more appropriate name for this bundle? And If I put
> a new version in deploy (in the future), can I have it replace the existing
> bundle rather than have both versions of it coexisting? 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message