karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Moved: (KARAF-41) Add a section to the karaf manual about gogo syntax / closures and all...
Date Mon, 28 Jun 2010 09:59:52 GMT

     [ 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.


Mime
View raw message