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

/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DRepositoryFactory.java36 * This is a factory class for the different repositories.
42 private static Repository repositories[] = { field in class:RepositoryFactory
68 new ArrayList<Class<? extends Repository>>(repositories.length);
69 for (int i=repositories.length-1; i >= 0; i--) {
70 list.add(repositories[i].getClass());
84 for (Repository rep : repositories) {
H A DHistoryGuru.java60 private Map<String, Repository> repositories = field in class:HistoryGuru
297 * recursivelly search for repositories with a depth limit
352 // stat'ing for huge Mercurial repositories
369 * repositories found.
382 * Update the source the contents in the source repositories.
387 for (Map.Entry<String, Repository> entry : repositories.entrySet()) {
416 * Update the source the contents in the source repositories.
487 private void createCacheReal(Collection<Repository> repositories) { argument
499 for (final Repository repos : repositories) {
538 public void createCache(Collection<String> repositories) { argument
545 removeCache(Collection<String> repositories) argument
579 getReposFromString(Collection<String> repositories) argument
[all...]
/opengrok-sun/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-sun/test/org/opensolaris/opengrok/history/
H A DJDBCHistoryCacheTest.java48 private TestRepository repositories; field in class:JDBCHistoryCacheTest
74 * Set up the test environment with repositories and a cache instance.
77 repositories = new TestRepository();
78 repositories.create(getClass().getResourceAsStream("repositories.zip"));
86 * Clean up after the test. Remove the test repositories and shut down
90 repositories.destroy();
91 repositories = null;
169 File reposRoot = new File(repositories.getSourceRoot(), "mercurial");
249 File reposRoot = new File(repositories
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/configuration/
H A DConfiguration.java80 private List<RepositoryInfo> repositories; field in class:Configuration
200 setScanningDepth(3); // default depth of scanning for repositories
345 return repositories;
348 public void setRepositories(List<RepositoryInfo> repositories) { argument
349 this.repositories = repositories;
H A DRuntimeEnvironment.java419 * Set the map of external SCM repositories
421 * @param repositories the repositories to use
423 public void setRepositories(List<RepositoryInfo> repositories) { argument
424 threadConfig.get().setRepositories(repositories);
/opengrok-sun/src/org/opensolaris/opengrok/index/
H A DIndexer.java99 ArrayList<String> repositories = new ArrayList<String>();
196 repositories.add(getopt.getOptarg());
500 listFiles, createDict, subFiles, repositories,
536 List<String> repositories,
556 log.log(Level.INFO, "Scanning for repositories...");
560 log.log(Level.INFO, "Done scanning for repositories ({0}s)", time);
566 System.out.println("No repositories found.");
672 log.log(Level.INFO, "Generating history cache for all repositories ...");
675 } else if (repositories != null && !repositories
527 prepareIndexer(RuntimeEnvironment env, boolean searchRepositories, boolean addProjects, String defaultProject, String configFilename, boolean refreshHistory, boolean listFiles, boolean createDict, List<String> subFiles, List<String> repositories, List<String> zapCache, boolean listRepoPathes) argument
[all...]

Completed in 27 milliseconds