private String getConfigDir(){
return new File(new File("src", "test"), "config").getAbsolutePath();
}
private Option jarBundles() throws MalformedURLException {
DefaultCompositeOption composite = new DefaultCompositeOption();
for (File bundle : new File("target", "test-bundles").listFiles()) {
if (bundle.getName().endsWith(".jar") && bundle.isFile()) {
composite.add(bundle(bundle.toURI().toURL().toString()));
}
}
return composite;
}