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

/opengrok-jel/test/org/opensolaris/opengrok/util/
H A DTestRepository.java40 private File sourceRoot; field in class:TestRepository
51 sourceRoot = FileUtilities.createTemporaryDirectory("source");
63 FileUtilities.extractArchive(sourceBundle, sourceRoot);
64 RuntimeEnvironment.getConfig().setSourceRoot(sourceRoot.getAbsolutePath());
77 if (sourceRoot != null) {
78 FileUtilities.removeDirs(sourceRoot);
97 return sourceRoot.getAbsolutePath();
/opengrok-jel/src/org/opensolaris/opengrok/configuration/
H A DConfiguration.java111 private String sourceRoot; field in class:Configuration
496 * @param sourceRoot the location of the sources
498 public void setSourceRoot(String sourceRoot) { argument
499 String p = getCanonicalPath(sourceRoot);
501 this.sourceRoot = p;
510 return sourceRoot;
518 return sourceRoot != null ? new File(sourceRoot) : null;
535 if (canonicalPath.startsWith(sourceRoot)) {
536 return canonicalPath.substring(sourceRoot
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/search/
H A DResults.java129 * <li>{@link SearchHelper#sourceRoot} (if sourceContext or historyContext
203 String htags = getTags(sh.sourceRoot, rpath, false);
208 ? new FileReader(new File(sh.sourceRoot, rpath))
215 sh.historyContext.getContext(new File(sh.sourceRoot, rpath),
/opengrok-jel/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java354 File sourceRoot;
356 sourceRoot = config.getSourceRootFile();
358 sourceRoot = new File(config.getSourceRootFile(), dir);
361 HistoryGuru.getInstance().ensureHistoryCacheExists(sourceRoot);
372 file_cnt = indexDown(sourceRoot, dir, true, 0, 0);
379 indexDown(sourceRoot, dir, false, 0, file_cnt);
H A DIndexer.java268 File sourceRoot = new File(getopt.getOptarg());
269 if (!sourceRoot.isDirectory()) {
273 cfg.setSourceRoot(sourceRoot.getCanonicalPath());
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java76 public File sourceRoot; field in class:SearchHelper
H A DPageConfig.java1208 sh.sourceRoot = new File(getSourceRootPath());

Completed in 44 milliseconds