obrextra.jar

Description
provides additional commands for OBR.
For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile.

Contributors

License
BSD

Services

Properties

Requirements

  • org.ungoverned.osgi.service.shell; specification-version="1.0.0"
  • org.ungoverned.osgi.service.bundlerepository; specification-version="1.1.0"
  • org.ungoverned.gravity.servicebinder; specification-version="1.1.0"

  • Download

    Build

    1. configure the common.properties if necessary
    2. configure the project.properties if necessary
    3. build with ant

    Settings
    none

    Run the demo
    To run the demo of this bundle, enter the following commands in the OSCAR shell

    obr -u http://oscar-osgi.sf.net/br/bundlerepository.txt http://www-adele.imag.fr/~donsez/dev/osgi/obr.txt
    obr start "Bundle Repository Additional Commands"
    start http://www-adele.imag.fr/~donsez/dev/osgi/obrextra/obrextra.jar
    

    obrx command (OBR Extra)


    This bundle adds extra commands for the OBR service.
    obrx binstall <url>

    This command installs the bundle located at the url passed as argument
    and its dependencies available in the bundle repository
    

    obrx bstart <url>
    This command starts the bundle located at the url passed as argument
    and its dependencies available in the bundle repository
    

    obrx flist <ldap-filter>
    This command lists bundles available in the bundle repository,
    whose attributes match the LDAP filter passed as argument.
    Filter expressions follow the LDAP syntax:
    
        obrx flist (&(bundle-name=Log Service)(bundle-version=1.0.0))
        obrx flist (&(bundle-category=Shell)(bundle-version>=1.0.0))
        obrx flist (&(bundle-name=*Manager*)(bundle-url=http://oscar-osgi.sf.net*))
    

    obrx finfo <ldap-filter>
    This command displays the meta-data for the bundles
    whose attributes match the LDAP filter passed as argument.
    Filter expressions follow the LDAP syntax:
    
        obrx finfo (&(bundle-name=Log Service)(bundle-version=1.0.0))
        obrx finfo (&(bundle-category=Shell)(bundle-version>=1.0.0))
        obrx finfo (&(bundle-name=*Manager*)(bundle-url=http://oscar-osgi.sf.net*))
    

    obrx finstall [-nodeps] <ldap-filter>
    This command installs the bundles available in the bundle repository,
    whose attributes match the LDAP filter passed as argument.
    Filter expressions follow the LDAP syntax:
    
        obrx finstall (&(bundle-name=Log Service)(bundle-version=1.0.0))
        obrx finstall (&(bundle-category=Shell)(bundle-version>=1.0.0))
        obrx finstall (&(bundle-name=*Manager*)(bundle-url=http://oscar-osgi.sf.net*
    ))
    

    obrx fstart [-nodeps] <ldap-filter>
    This command starts the bundles available in the bundle repository,
    whose attributes match the LDAP filter passed as argument.
    Filter expressions follow the LDAP syntax:
    
        obrx fstart (&(bundle-name=Log Service)(bundle-version=1.0.0))
        obrx fstart (&(bundle-category=Shell)(bundle-version>=1.0.0))
        obrx fstart (&(bundle-name=*Manager*)(bundle-url=http://oscar-osgi.sf.net*))
    

    Typical Usages

  • advanced users
  • Tested gateways

    Versions history

    TODO (contributions are welcome)