Searched refs:dir (Results 1 - 16 of 16) sorted by relevance

/opengrok-jel/platform/solaris/ips/
H A Dcreate.sh47 for dir in /etc/opengrok /usr/opengrok /usr/opengrok/man /usr/opengrok/man/man1\
50 PKGSEND add dir mode=0755 owner=root group=sys path=${dir}
53 for dir in /usr/opengrok/bin /usr/opengrok/lib
55 PKGSEND add dir mode=0755 owner=root group=bin path=${dir}
58 for dir in /var/opengrok /var/opengrok/data /var/opengrok/etc \
61 PKGSEND add dir mode=0755 owner=webservd group=webservd path=${dir}
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DFileHistoryCache.java135 File dir = cache.getParentFile();
136 if (!dir.isDirectory() && !dir.mkdirs()) {
138 "Unable to create cache directory '" + dir + "'");
151 output = File.createTempFile("oghist", null, dir);
296 File dir = cfg.getDataRootFile();
297 dir = new File(dir, "historycache");
299 dir = new File(dir, cf
[all...]
H A DPerforceRepository.java179 File dir = file.getParentFile();
181 dir = file;
186 Executor executor = new Executor(cmd, dir);
199 Executor executor = new Executor(cmd, dir);
H A DJDBCHistoryCache.java745 String dir = unsplitPath(pathElts, j);
747 // added this dir/changeset combination.
748 if (!addedDirs.contains(dir)) {
749 addDirchange.setInt(2, directories.get(dir));
751 addedDirs.add(dir);
1012 // Get the dir id for this file, potentially adding the
1014 Integer dir = addAllDirs(insDir, reposId, fullPath, dirMap);
1016 insFile.setInt(1, dir.intValue());
1083 Integer dir = map.get(parent);
1084 if (dir
[all...]
H A DHistoryGuru.java237 File dir = path;
240 dir = path.getParentFile();
246 dir = path.getParentFile();
248 final Repository repos = getRepository(dir);
455 * @param dir the root directory to start the search in.
457 public void addRepositories(String dir) { argument
459 addRepositories(new File[] { new File(dir) }, repos,
708 File dir = new File(path);
709 Repository repo = getRepository(dir);
711 return Boolean.valueOf(historyCache.hasCacheForDirectory(dir, rep
[all...]
H A DRCSRepository.java154 File dir = new File(file.getParentFile(), "RCS");
156 File rcsFile = new File(dir, baseName + ",v");
H A DRCSHistoryParser.java66 String dir = cvsroot + File.separatorChar + repo;
68 File rcsFile = new File(dir, filename);
70 File atticFile = new File(dir + File.separatorChar + "Attic", filename);
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java170 FSDirectory dir = FSDirectory.open(indexDir);
171 searcher = new IndexSearcher(IndexReader.open(dir));
174 FSDirectory dir =
176 searcher = new IndexSearcher(IndexReader.open(dir));
184 FSDirectory dir = FSDirectory.open(new File(indexDir, proj));
185 subreaders[ii++] = IndexReader.open(dir);
H A DPageConfig.java346 // virtual - isDir already made the dir history check
1064 private File checkFile(File dir, String name) { argument
1066 File f = new File(dir, name);
1089 File dir = new File(getConfig().getDataRoot() + Prefix.XREF_P + path);
1090 if (dir.exists() && dir.isDirectory()) {
1093 res[i] = checkFile(dir, filenames.get(i));
1124 //if it is an existing dir perhaps people wanted dir xref
H A DUtil.java932 * @param dir directory, which should contains the file.
939 public static boolean dump(Writer out, File dir, String filename, argument
942 return dump(out, new File(dir, filename), compressed);
/opengrok-jel/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java286 * @param dir The directory to scan
290 public boolean addDirectory(String dir) { argument
291 String directory = dir;
353 for (String dir : directories) {
355 if ("".equals(dir)) {
358 sourceRoot = new File(config.getSourceRootFile(), dir);
363 String startuid = Util.path2uid(dir, "");
371 logger.log(Level.INFO, "Counting files in ''{0}'' ...", dir);
372 file_cnt = indexDown(sourceRoot, dir, true, 0, 0);
375 new Object[] { file_cnt, dir });
792 indexDown(File dir, String parent, boolean count_only, int cur_count, int est_total) argument
[all...]
H A DIndexer.java623 String dir = info.getDirectoryName();
624 System.out.println(dir.substring(prefix.length()));
/opengrok-jel/test/org/opensolaris/opengrok/util/
H A DFileUtilities.java50 * @param root target dir
181 for (String dir : pathDirs) {
182 File file = new File(dir, progName);
/opengrok-jel/test/org/opensolaris/opengrok/history/
H A DJDBCHistoryCacheTest.java353 File dir = new File(repos.getDirectoryName(), "subdir");
354 assertTrue(cache.hasCacheForDirectory(dir, repos));
355 File file = new File(dir, "bla.c");
356 assertFalse(cache.hasCacheForDirectory(file, repos)); // not a dir
358 assertTrue(cache.get(dir, repos, false, null).getHistoryEntries().isEmpty());
361 assertTrue(cache.get(dir, repos, false, false).getHistoryEntries().isEmpty());
363 // force to take as dir
364 assertFalse(cache.get(dir, repos, false, true).getHistoryEntries().isEmpty());
/opengrok-jel/
H A DOpenGrok440 for dir in /usr/lib/jvm/sun-jdk-1.6 \
444 if [ -f ${dir}/bin/java ]
446 javaHome=$dir
/opengrok-jel/lib/
H A Dbcel-5.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 53 milliseconds