public Option bundle ( String bsn ) { Collection < Option > urls = new ArrayList <> ( ) ; try { for ( File file : workspace . getProject ( bsn ) . getBuildFiles ( ) ) { urls . add ( url ( file . toURI ( ) . toASCIIString ( ) ) ) ; } } catch ( Exception e ) { throw new RuntimeException ( "Underlying Bnd Exception: " , e ) ; } return composite ( urls . toArray ( new Option [ urls . size ( ) ] ) ) ; }
Add workspace - built bundle of name symbolicName to system - under - test .