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

/opengrok-sun/test/org/opensolaris/opengrok/util/
H A DTestRepository.java41 private File dataRoot; field in class:TestRepository
47 dataRoot = FileUtilities.createTemporaryDirectory("data");
60 RuntimeEnvironment.getInstance().setDataRoot(dataRoot.getAbsolutePath());
76 if (dataRoot != null) {
77 FileUtilities.removeDirs(dataRoot);
86 return dataRoot.getAbsolutePath();
/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java67 public File dataRoot; field in class:SearchHelper
176 * this time: <ul> <li>{@link #builder}</li> <li>{@link #dataRoot}</li>
200 File indexDir = new File(dataRoot, "index");
335 * <li>{@link #projects}</li> <li>{@link #dataRoot}</li>
346 spellIndex = new File[]{new File(dataRoot, "spellIndex")};
349 new File(dataRoot, "spellIndex/" + projects.first())
354 File indexDir = new File(dataRoot, "spellIndex");
H A DPageConfig.java104 private File dataRoot; field in class:PageConfig
1130 if (dataRoot == null) {
1133 throw new InvalidParameterException("dataRoot parameter is not "
1136 dataRoot = new File(tmp);
1137 if (!(dataRoot.isDirectory() && dataRoot.canRead())) {
1138 throw new InvalidParameterException("The configured dataRoot '"
1143 return dataRoot;
1158 sh.dataRoot = getDataRoot(); // throws Exception if none-existent
/opengrok-sun/src/org/opensolaris/opengrok/configuration/
H A DConfiguration.java79 private String dataRoot; field in class:Configuration
337 return dataRoot;
340 public void setDataRoot(String dataRoot) { argument
341 this.dataRoot = dataRoot;
H A DRuntimeEnvironment.java133 * @param dataRoot the index database
135 public void setDataRoot(String dataRoot) { argument
136 threadConfig.get().setDataRoot(getCanonicalPath(dataRoot));
/opengrok-sun/src/org/opensolaris/opengrok/index/
H A DIndexer.java274 File dataRoot = new File(getopt.getOptarg());
275 if (!dataRoot.exists() && !dataRoot.mkdirs()) {
279 if (!dataRoot.isDirectory()) {
283 cfg.setDataRoot(dataRoot.getCanonicalPath());
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DResults.java129 * <li>{@link SearchHelper#dataRoot}</li>
156 File xrefDataDir = new File(sh.dataRoot, Prefix.XREF_P.toString());

Completed in 21 milliseconds