I'm missing something here.
The doc says that ($.context bundles) is an array containing all bundles, but:
karaf@root>each ($.context bundle) { $it location }
Error executing command shell:each: unable to convert argument values
with value 'org.apache.felix.framework [0]' to type
java.util.Collection<java.lang.Object>
On Tue, May 17, 2016 at 10:01 AM, Jean-Baptiste Onofré <[email protected]>
wrote:
> https://karaf.apache.org/manual/latest/#_scripting_2
>
> Regards
> JB
>
>
> On 05/17/2016 06:57 PM, Benson Margulies wrote:
>>
>> On Tue, May 17, 2016 at 8:07 AM, Jean-Baptiste Onofré <[email protected]>
>> wrote:
>>>
>>> You can always create an alias combining bundle:list and bundle:headers
>>> (headers should contain license as defined in the MANIFEST).
>>
>>
>> I was looking into this. I've never scripted the Karaf shell, any
>> examples sitting around to look at?
>>
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 05/17/2016 03:41 PM, Benson Margulies wrote:
>>>>
>>>>
>>>> Anyone know a way to get karaf to list bundles and their licenses ( when
>>>> known )
>>>>
>>>
>>> --
>>> 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