[
https://issues.apache.org/jira/browse/KARAF-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet moved FELIX-1760 to KARAF-41:
---------------------------------------------
Project: Karaf (was: Felix)
Key: KARAF-41 (was: FELIX-1760)
Component/s: (was: Karaf)
> Add a section to the karaf manual about gogo syntax / closures and all...
> -------------------------------------------------------------------------
>
> Key: KARAF-41
> URL: https://issues.apache.org/jira/browse/KARAF-41
> Project: Karaf
> Issue Type: Task
> 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.