Searched defs:repository (Results 1 - 23 of 23) sorted by relevance

/opengrok-sun/test/org/opensolaris/opengrok/index/
H A DIndexDatabaseTest.java40 private static TestRepository repository; field in class:IndexDatabaseTest
50 repository = new TestRepository();
51 repository.create(
54 env.setSourceRoot(repository.getSourceRoot());
55 env.setDataRoot(repository.getDataRoot());
66 repository.destroy();
72 // repository.
73 File f1 = new File(repository.getSourceRoot() + "/c/foobar.c");
82 // that's not in the repository.
83 File f2 = new File(repository
[all...]
H A DIndexerTest.java55 TestRepository repository; field in class:IndexerTest
72 repository = new TestRepository();
73 repository.create(IndexerTest.class.getResourceAsStream("source.zip"));
78 repository.destroy();
90 env.setSourceRoot(repository.getSourceRoot());
91 env.setDataRoot(repository.getDataRoot());
175 String[] argv = {"-S", "-P", "-H", "-Q", "off", "-s", repository.getSourceRoot(), "-d", repository.getDataRoot(), "-v"};
212 env.setSourceRoot(repository.getSourceRoot());
213 env.setDataRoot(repository
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DAccuRevHistoryParser.java46 private AccuRevRepository repository; field in class:AccuRevHistoryParser
60 repository = (AccuRevRepository) repos;
65 String relPath = repository.getDepotRelativePath(file);
85 Executor executor = repository.getHistoryLogExecutor(file);
92 executor = repository.getHistoryLogExecutor(file);
109 DateFormat df = repository.getDateFormat();
H A DBazaarHistoryParser.java48 private BazaarRepository repository=new BazaarRepository(); //NOPMD field in class:BazaarHistoryParser
50 BazaarHistoryParser(BazaarRepository repository) { argument
51 this.repository = repository;
52 myDir = repository.getDirectoryName() + File.separator;
57 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision);
74 repository.removeAndVerifyOldestChangeset(entries, sinceRevision);
89 DateFormat df = repository.getDateFormat();
H A DClearCaseHistoryParser.java42 private ClearCaseRepository repository=new ClearCaseRepository(); field in class:ClearCaseHistoryParser
45 repository = (ClearCaseRepository)repos;
47 Executor executor = repository.getHistoryLogExecutor(file);
71 DateFormat df = repository.getDateFormat();
H A DMercurialHistoryParser.java51 private final MercurialRepository repository; field in class:MercurialHistoryParser
54 MercurialHistoryParser(MercurialRepository repository) { argument
55 this.repository = repository;
56 mydir = repository.getDirectoryName() + File.separator;
72 Executor executor = repository.getHistoryLogExecutor(file, changeset);
89 repository.removeAndVerifyOldestChangeset(entries, changeset);
105 DateFormat df = repository.getDateFormat();
H A DMonotoneHistoryParser.java50 private final MonotoneRepository repository; field in class:MonotoneHistoryParser
53 MonotoneHistoryParser(MonotoneRepository repository) { argument
54 this.repository = repository;
55 mydir = repository.getDirectoryName() + File.separator;
71 Executor executor = repository.getHistoryLogExecutor(file, changeset);
96 DateFormat df = repository.getDateFormat();
H A DCVSHistoryParser.java49 private CVSRepository repository=new CVSRepository(); field in class:CVSHistoryParser
60 DateFormat df = repository.getDateFormat();
160 repository = (CVSRepository) repos;
162 Executor executor = repository.getHistoryLogExecutor(file);
H A DHistoryCache.java41 * repository.
43 * @param repository the repository to check
45 * for the repository, or {@code false} otherwise
47 boolean supportsRepository(Repository repository); argument
51 * parsing the history information in the repository.
55 * @param repository The external repository to read the history from (can
63 History get(File file, Repository repository, boolean withFiles) argument
67 * Store the history for a repository
73 store(History history, Repository repository) argument
95 hasCacheForDirectory(File directory, Repository repository) argument
106 getLatestCachedRevision(Repository repository) argument
117 getLastModifiedTimes( File directory, Repository repository) argument
127 clear(Repository repository) argument
[all...]
H A DRazorHistoryParser.java48 private RazorRepository repository=new RazorRepository(); field in class:RazorHistoryParser
67 repository = (RazorRepository) repos;
68 File mappedFile = repository.getRazorHistoryFileFor(file);
90 DateFormat df = repository.getDateFormat();
H A DGitHistoryParser.java52 private GitRepository repository = new GitRepository(); field in class:GitHistoryParser
65 in = new BufferedReader(repository.newLogReader(input));
73 DateFormat df = repository.getDateFormat();
155 repository = (GitRepository) repos;
157 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision);
H A DFileHistoryCache.java72 public boolean supportsRepository(Repository repository) { argument
173 public void store(History history, Repository repository) argument
192 if (env.isTagsEnabled() && repository.hasFileBasedTags()) {
209 if (env.isTagsEnabled() && repository.hasFileBasedTags()) {
210 repository.assignTagsInHistory(hist);
221 public History get(File file, Repository repository, boolean withFiles) argument
237 history = repository.getHistory(file);
281 public boolean hasCacheForDirectory(File directory, Repository repository) argument
300 public String getLatestCachedRevision(Repository repository) { argument
306 File directory, Repository repository) {
305 getLastModifiedTimes( File directory, Repository repository) argument
314 clear(Repository repository) argument
[all...]
H A DHistoryGuru.java283 Repository repository = getRepository(directory);
284 if (repository != null && useCache()) {
285 return historyCache.getLastModifiedTimes(directory, repository);
308 Repository repository = null;
310 repository = RepositoryFactory.getRepository(file);
313 + file + "', could not instantiate the repository.", ie);
318 if (repository == null) {
319 // Not a repository, search it's sub-dirs
334 repository.setDirectoryName(path);
336 log.log(Level.CONFIG, "Adding <{0}> repository
451 createCache(Repository repository, String sinceRevision) argument
[all...]
H A DJDBCHistoryCache.java140 * repository. Only repositories that support retrieval of history for the
144 public boolean supportsRepository(Repository repository) { argument
145 return repository.hasHistoryForDirectories();
225 // Create a composite index on the repository in ascending order
374 public boolean hasCacheForDirectory(File file, Repository repository) argument
383 ps.setString(1, toUnixPath(repository.getDirectoryName()));
517 * Statement that gets the history for the specified file and repository.
526 * given repository. The result is ordered in reverse chronological order
538 public History get(File file, Repository repository, boolean withFiles) argument
543 return getHistory(file, repository, withFile
556 getHistory( File file, Repository repository, boolean withFiles) argument
630 store(History history, Repository repository) argument
654 storeHistory(ConnectionResource conn, History history, Repository repository) argument
912 getRepositoryId(ConnectionResource conn, Repository repository) argument
1170 getLatestCachedRevision(Repository repository) argument
1188 getLatestRevisionForRepository(Repository repository) argument
1207 getLastModifiedTimes( File directory, Repository repository) argument
1228 getLastModifiedTimesForAllFiles( File directory, Repository repository) argument
1256 clear(Repository repository) argument
1274 clearHistoryForRepository(Repository repository) argument
[all...]
/opengrok-sun/test/org/opensolaris/opengrok/analysis/
H A DCtagsTest.java43 private static TestRepository repository; field in class:CtagsTest
64 repository = new TestRepository();
65 repository.create(CtagsTest.class.getResourceAsStream(
73 repository.destroy();
85 * Helper method that gets the definitions for a file in the repository.
90 String path = repository.getSourceRoot() + File.separator
H A DJFlexXrefTest.java59 private static TestRepository repository; field in class:JFlexXrefTest
72 repository = new TestRepository();
73 repository.create(JFlexXrefTest.class.getResourceAsStream(
81 repository.destroy();
148 File file = new File(repository.getSourceRoot() + File.separator + path);
321 String filename = repository.getSourceRoot() + "/sql/bug18586.sql";
/opengrok-sun/test/org/opensolaris/opengrok/history/
H A DGitHistoryParserTest.java41 private static TestRepository repository = new TestRepository(); field in class:GitHistoryParserTest
48 repository = new TestRepository();
49 repository.create(HistoryGuru.class.getResourceAsStream("repositories.zip"));
77 * Parse something that could come out from the Memcached repository
144 * Parse something that could come out from the git repository
209 * Parse something that could come out from the linux kernel repository
H A DMercurialRepositoryTest.java41 * Revision numbers present in the Mercurial test repository, in the
48 private TestRepository repository; field in class:MercurialRepositoryTest
51 * Set up a test repository. Should be called by the tests that need it.
52 * The test repository will be destroyed automatically when the test
56 repository = new TestRepository();
57 repository.create(getClass().getResourceAsStream("repositories.zip"));
62 if (repository != null) {
63 repository.destroy();
64 repository = null;
71 File root = new File(repository
[all...]
H A DHistoryGuruTest.java48 private static TestRepository repository = new TestRepository(); field in class:HistoryGuruTest
56 repository = new TestRepository();
57 repository.create(HistoryGuru.class.getResourceAsStream("repositories.zip"));
58 FileUtilities.getAllFiles(new File(repository.getSourceRoot()), files, true);
64 repository.destroy();
83 instance.addRepositories(repository.getSourceRoot());
/opengrok-sun/test/org/opensolaris/opengrok/search/
H A DSearchEngineTest.java47 static TestRepository repository; field in class:SearchEngineTest
53 repository = new TestRepository();
54 repository.create(HistoryGuru.class.getResourceAsStream("repositories.zip"));
58 env.setSourceRoot(repository.getSourceRoot());
59 env.setDataRoot(repository.getDataRoot());
62 env.setSourceRoot(repository.getSourceRoot());
63 env.setDataRoot(repository.getDataRoot());
79 repository.destroy();
H A DSearchTest.java47 static TestRepository repository; field in class:SearchTest
54 repository = new TestRepository();
55 repository.create(IndexerTest.class.getResourceAsStream("source.zip"));
59 env.setSourceRoot(repository.getSourceRoot());
60 env.setDataRoot(repository.getDataRoot());
63 env.setSourceRoot(repository.getSourceRoot());
64 env.setDataRoot(repository.getDataRoot());
84 repository.destroy();
/opengrok-sun/test/org/opensolaris/opengrok/web/
H A DPageConfigTest.java38 private static TestRepository repository = new TestRepository(); field in class:PageConfigTest
42 repository = new TestRepository();
43 repository.create(
45 HistoryGuru.getInstance().addRepositories(repository.getSourceRoot());
50 repository.destroy();
51 repository = null;
/opengrok-sun/lib/
H A Dbcel-5.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 42 milliseconds