Search in sources :

Example 1 with WebDAVContentStore

use of org.eclipse.ceylon.cmr.webdav.WebDAVContentStore in project ceylon by eclipse.

the class HerdTestCase method getRepositoryManager.

private RepositoryManager getRepositoryManager(File root, boolean offline, int timeout, String apiVersion) throws Exception {
    RepositoryManagerBuilder builder = getRepositoryManagerBuilder(root, offline, timeout, java.net.Proxy.NO_PROXY);
    WebDAVContentStore rcs = new WebDAVContentStore(HERD_URL, log, false, 60000, java.net.Proxy.NO_PROXY, apiVersion);
    CmrRepository repo = new DefaultRepository(rcs.createRoot());
    return builder.addRepository(repo).buildRepository();
}
Also used : RepositoryManagerBuilder(org.eclipse.ceylon.cmr.api.RepositoryManagerBuilder) DefaultRepository(org.eclipse.ceylon.cmr.impl.DefaultRepository) CmrRepository(org.eclipse.ceylon.cmr.api.CmrRepository) WebDAVContentStore(org.eclipse.ceylon.cmr.webdav.WebDAVContentStore)

Aggregations

CmrRepository (org.eclipse.ceylon.cmr.api.CmrRepository)1 RepositoryManagerBuilder (org.eclipse.ceylon.cmr.api.RepositoryManagerBuilder)1 DefaultRepository (org.eclipse.ceylon.cmr.impl.DefaultRepository)1 WebDAVContentStore (org.eclipse.ceylon.cmr.webdav.WebDAVContentStore)1