Searched refs:repositories (Results 1 - 6 of 6) sorted by relevance

/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DRepositoryFactory.java34 * This is a factory class for the different repositories.
40 private static Repository repositories[] = { field in class:RepositoryFactory
66 new ArrayList<Class<? extends Repository>>(repositories.length);
67 for (int i=repositories.length-1; i >= 0; i--) {
68 list.add(repositories[i].getClass());
85 for (Repository rep : repositories) {
H A DHistoryGuru.java62 private Map<String, Repository> repositories = field in class:HistoryGuru
380 * recursivelly search for repositories with a depth limit
435 // stat'ing for huge Mercurial repositories
453 * repositories found.
466 * Update the source the contents in the source repositories.
471 for (Map.Entry<String, Repository> entry : repositories.entrySet()) {
501 * Update the source the contents in the source repositories.
574 * Create the history cache for the given repositories, if caching is
576 * @param allRepos repositories in question. If {@code null} all registered
583 Collection<Repository> repositories
646 removeCache(Collection<String> repositories) argument
676 getReposFromString(Collection<String> repositories) argument
[all...]
/opengrok-jel/test/org/opensolaris/opengrok/search/context/
H A DHistoryContextTest.java47 private static TestRepository repositories; field in class:HistoryContextTest
51 repositories = new TestRepository();
52 repositories.create(HistoryContextTest.class.getResourceAsStream(
53 "/org/opensolaris/opengrok/history/repositories.zip"));
54 HistoryGuru.getInstance().addRepositories(repositories.getSourceRoot());
59 repositories.destroy();
60 repositories = null;
86 String filename = repositories.getSourceRoot() + path;
128 File file = new File(repositories.getSourceRoot() + path);
/opengrok-jel/test/org/opensolaris/opengrok/history/
H A DJDBCHistoryCacheTest.java57 private TestRepository repositories; field in class:JDBCHistoryCacheTest
169 * Set up the test environment with repositories and a cache instance.
172 repositories = new TestRepository();
173 repositories.create(getClass().getResourceAsStream("repositories.zip"));
181 * Clean up after the test. Remove the test repositories and shut down
185 repositories.destroy();
186 repositories = null;
266 File reposRoot = new File(repositories.getSourceRoot(), "mercurial");
383 File reposRoot = new File(repositories
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/configuration/
H A DConfiguration.java113 private List<RepositoryInfo> repositories; field in class:Configuration
182 * Get the depth of scanning for repositories in the directory tree relative
191 * Set the depth of scanning for repositories in the directory tree relative
234 setScanningDepth(3); // default depth of scanning for repositories
576 * Get the map of known repositories.
580 return repositories;
584 * Set the map of known repositories.
585 * @param repositories the repositories to set.
587 public void setRepositories(List<RepositoryInfo> repositories) { argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/index/
H A DIndexer.java106 ArrayList<String> repositories = new ArrayList<String>();
200 repositories.add(getopt.getOptarg());
518 listTokens, subFiles, repositories, zapCache, listRepos);
551 * @param searchRepositories If {@code true} scan for new repositories in
567 * @param repositories Target repositories.{@code null} implies
587 List<String> repositories,
608 log.log(Level.INFO,"Scanning for repositories...");
618 System.out.println("No repositories found.");
726 log.log(Level.INFO, "Generating history cache for all repositories
579 prepareIndexer(boolean searchRepositories, boolean addProjects, String defaultProject, String configFilename, boolean refreshHistory, boolean listFiles, boolean listTokens, List<String> subFiles, List<String> repositories, List<String> zapCache, boolean listRepoPathes) argument
[all...]

Completed in 17 milliseconds