Searched refs:directory (Results 1 - 20 of 20) sorted by relevance

/opengrok-jel/src/org/opensolaris/opengrok/search/
H A DHit.java40 * Holds value of property directory
42 private String directory; field in class:Hit
90 this.directory = file.getParent();
91 if (directory == null) {
92 directory = "";
120 * Getter for property directory
122 * @return Value of property directory
125 return this.directory;
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DHistoryCache.java61 * directory) gets determined automatically: if path physically exists
62 * and is a directory, directory is assumed, file otherwise.
63 * If {@code true} this method blindly assumes type directory and a
64 * directory history gets returned, otherwise a file history.
94 * Check if the specified directory is present in the cache.
95 * @param directory the directory to check
96 * @param repository the repository in which the directory is stored
97 * @return {@code true} if the directory i
101 hasCacheForDirectory(File directory, Repository repository) argument
127 getLastModifiedTimes(File directory, Repository repository, Map<String,String> path2rev) argument
[all...]
H A DMonotoneRepository.java75 File directory = new File(directoryName);
86 process = Runtime.getRuntime().exec(argv, null, directory);
171 File directory = new File(directoryName);
173 Executor executor = new Executor(cmd, directory);
216 File directory = new File(directoryName);
223 Executor executor = new Executor(cmd, directory);
232 executor = new Executor(cmd, directory);
H A DRepoRepository.java71 File directory = new File(getDirectoryName());
77 Executor executor = new Executor(cmd, directory);
H A DBazaarRepository.java106 File directory = new File(directoryName);
115 process = Runtime.getRuntime().exec(argv, null, directory);
223 File directory = new File(getDirectoryName());
229 Executor executor = new Executor(cmd, directory);
238 executor = new Executor(cmd, directory);
H A DRepository.java76 * Get the history log for the specified file or directory for all changesets.
168 * @param parent The name of the directory (canonical path incl. source root)
219 // If we don't have a directory parser, we can't create the cache
229 File directory = new File(getDirectoryName());
233 history = getHistory(directory, sinceRevision);
253 history = getHistory(directory);
275 * path, it gets interpreted relative to the current working directory.
278 * file/directory.
H A DClearCaseRepository.java120 File directory = new File(directoryName);
137 process = Runtime.getRuntime().exec(argv, null, directory);
222 pb.directory(file.getParentFile());
278 File directory = new File(getDirectoryName());
283 process = Runtime.getRuntime().exec(argv, null, directory);
299 process = Runtime.getRuntime().exec(argv, null, directory);
H A DSubversionRepository.java66 * directory to use, i.e. the value for the svn option --config-dir. Gets
114 // set to true if we manage to find the root directory
124 File directory = new File(getDirectoryName());
126 Executor executor = new Executor(cmd, directory);
222 File directory = new File(directoryName);
238 Executor executor = new Executor(cmd, directory);
349 pb.directory(file.getParentFile());
404 File directory = new File(getDirectoryName());
415 Executor executor = new Executor(cmd, directory);
H A DGitRepository.java105 File directory = new File(directoryName);
106 Executor exec = new Executor(cmd, directory);
318 File directory = new File(directoryName);
330 process = Runtime.getRuntime().exec(argv, null, directory);
346 process = Runtime.getRuntime().exec(argv, null, directory);
430 File directory = new File(directoryName);
431 exec = new Executor(cmd, directory);
497 File directory = new File(getDirectoryName());
504 Executor executor = new Executor(cmd, directory);
H A DMercurialRepository.java225 throw new IllegalArgumentException("Software bug: directory is "
297 File directory = new File(directoryName);
314 process = Runtime.getRuntime().exec(argv, null, directory);
370 pb.directory(file.getParentFile());
462 File directory = new File(directoryName);
468 Executor executor = new Executor(cmd, directory);
478 executor = new Executor(cmd, directory);
H A DFileHistoryCache.java138 "Unable to create cache directory '" + dir + "'");
255 // history information on the directory may change if a file in
256 // a sub-directory change. This will cause us to present a stale
257 // history log until a the current directory is updated and
283 * Check if the directory is in the cache.
284 * @param directory the directory to check
285 * @return {@code true} if the directory is in the cache
288 public boolean hasCacheForDirectory(File directory, Repository repository) argument
290 assert directory
314 getLastModifiedTimes(File directory, Repository repository, Map<String,String> path2rev) argument
[all...]
H A DAccuRevRepository.java55 * directories within the source root directory represent the work areas of
170 File directory = new File(parent);
188 Executor executor = new Executor(cmd, directory);
209 executor = new Executor(cmd, directory);
244 * directory.
247 * @return {@code /./} on error if file names the opengrok source directory,
274 * @param sourceHome The presumed path to an AccuRev workspace directory.
H A DCVSRepository.java108 File directory = new File(getDirectoryName());
114 Executor executor = new Executor(cmd, directory);
H A DPerforceRepository.java140 File directory = new File(getDirectoryName());
146 Executor executor = new Executor(cmd, directory);
H A DSCCSRepository.java104 pb.directory(file.getCanonicalFile().getParentFile());
161 pb.directory(file.getCanonicalFile().getParentFile());
H A DHistoryGuru.java184 * (directory or file) gets automatically determined: If file physically
185 * exists and is a directory, directory is assumed, file otherwise.
199 * (directory or file) gets automatically determined: If file physically
200 * exists and is a directory, directory is assumed, file otherwise.
218 * (directory or file) gets automatically determined: If <var>path</var>
219 * physically exists and is a directory, directory is assumed, file otherwise.
229 * directory
336 getLastModifiedTimes(File directory, Map<String, String> path2rev) argument
[all...]
H A DJDBCHistoryCache.java141 * whole directory at once are supported.
555 // Fetch history for all files under this directory.
982 * Build maps from directory names and file names to their respective
987 * @param history the history to get the file and directory names from
989 * @param dirMap a map which will be filled with directory names and ids
1066 * @param ps statement that inserts a directory into the DIRECTORY table.
1068 * the directory, and (3) the id to use for the directory, (4) the id of
1069 * the parent directory.
1072 * @param map a map from directory pat
1164 getLastModifiedTimes(File directory, Repository repository, Map<String, String> path2rev) argument
1185 getLastModifiedTimesForAllFiles( File directory, Repository repository, Map<String, String> path2rev) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/util/
H A DExecutor.java71 * @param workingDirectory The directory the process should have as the
72 * working directory
114 processBuilder.directory(workingDirectory);
120 log.log(Level.FINE, "Executing command [{0}] in directory ''{1}''",
123 processBuilder.directory(),
182 .append("] in directory '");
183 File cwd = processBuilder.directory();
/opengrok-jel/
H A DOpenGrok76 echo " ${progname} index [<directory>]"
182 # files in the "dist" directory after the build is completed)
211 # (Every directory in SRC_ROOT is considered a separate project)
575 directory="${domainDirectory}/${OPENGROK_GLASSFISH_DOMAIN}/autodeploy"
577 if [ ! -d "${directory}" ]
583 echo "${directory}"
672 Progress " Attempting to create generated data directory ... "
684 Progress " Attempting to create generated etc directory ... "
722 Progress " Attempting to create generated derby directory ... "
/opengrok-jel/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java251 throw new FileNotFoundException("Failed to create root directory '"
258 throw new FileNotFoundException("Failed to create root directory '"
286 * @param dir The directory to scan
291 String directory = dir;
292 if (directory.startsWith("\\")) {
293 directory = directory.replace('\\', '/');
294 } else if (directory.charAt(0) != '/') {
295 directory = "/" + directory;
[all...]

Completed in 260 milliseconds