• Intro Headers Instructions Macros Commands
  • Fork me on GitHub
    • Introduction
    • How to install bnd
    • Guided Tour
    • Guided Tour Workspace & Projects
    • Concepts
    • Best practices
    • Build
    • Generating JARs
    • Versioning
    • Baselining
    • Service Components
    • Metatype
    • Contracts
    • Manifest Annotations
    • Resolving Dependencies
    • Launching
    • Plain JUnit Testing with OSGi (PRELIMENARY)
    • Testing
    • Packaging Applications
    • Wrapping Libraries to OSGi Bundles
    • Commands
    • For Developers
    • Tools bound to bnd
    • Headers
    • Instruction Reference
    • Instruction Index
    • Macro Reference
    • Macro Index
    • Plugins
    • Settings
    • Errors
    • Warnings
    • Frequently Asked Questions
  • repos

    layout: default-

    public String _repos(@SuppressWarnings("unused")
    String args[]) throws Exception {
    	List<RepositoryPlugin> repos = getPlugins(RepositoryPlugin.class);
    	List<String> names = new ArrayList<String>();
    	for (RepositoryPlugin rp : repos)
    		names.add(rp.getName());
    	return join(names, ", ");
    }
    
    • GitHub