You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/10/15 14:06:31 UTC
[jira] Created: (FELIX-1760) Add a section to the karaf manual
about gogo syntax / closures and all...
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.