Add a section to the karaf manual about gogo syntax / closures and all...
-------------------------------------------------------------------------
Key: FELIX-1760
URL: https://issues.apache.org/jira/browse/FELIX-1760
Project: Felix
Issue Type: Task
Components: Karaf
Reporter: Guillaume Nodet
We need to give an overview of the gogo syntax and some examples.
Here's a closure to retrieve a bundle by its symbolic name:
> bundleByName = { a=[0=0] ; each (bundles) { $a put ($it symbolicName) ($it
> bundleId) } ; $a get $0 }
> osgi:stop (bundleByName "xxxx")
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.