Search in sources :

Example 1 with FileContentStore

use of org.eclipse.ceylon.cmr.impl.FileContentStore in project ceylon by eclipse.

the class AbstractTest method getRepositoryManagerBuilder.

protected RepositoryManagerBuilder getRepositoryManagerBuilder(File root, boolean offline, int timeout, Proxy proxy, String overrideFileName) throws Exception {
    RepositoryManagerBuilder builder = new RepositoryManagerBuilder(temp.toFile(), log, offline, timeout, proxy, RepositoryManagerBuilder.parseOverrides(overrideFileName));
    builder.addRepository(new DefaultRepository(new FileContentStore(root).createRoot()));
    return builder;
}
Also used : RepositoryManagerBuilder(org.eclipse.ceylon.cmr.api.RepositoryManagerBuilder) DefaultRepository(org.eclipse.ceylon.cmr.impl.DefaultRepository) FileContentStore(org.eclipse.ceylon.cmr.impl.FileContentStore)

Aggregations

RepositoryManagerBuilder (org.eclipse.ceylon.cmr.api.RepositoryManagerBuilder)1 DefaultRepository (org.eclipse.ceylon.cmr.impl.DefaultRepository)1 FileContentStore (org.eclipse.ceylon.cmr.impl.FileContentStore)1