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

12

/opengrok/egrok/src/org/opensolaris/opengrok/egrok/model/
H A DHit.java8 private static final String ATTRIBUTE_DIRECTORY = "directory";
14 private String directory; field in class:Hit
22 String directory = (String) jsonobj.get(ATTRIBUTE_DIRECTORY);
24 setDirectory(directory.replaceAll("\\\\", ""));
38 public Hit(String directory, String filename, int lineno, String line, argument
41 this.directory = directory;
49 return directory;
52 public void setDirectory(String directory) { argument
53 this.directory
[all...]
/opengrok/src/org/opensolaris/opengrok/search/
H A DHit.java41 * Holds value of property directory
43 private String directory; field in class:Hit
91 this.directory = file.getParent();
92 if (directory == null) {
93 directory = "";
121 * Getter for property directory
123 * @return Value of property directory
126 return this.directory;
/opengrok/src/org/opensolaris/opengrok/history/
H A DHistoryCache.java88 * Check if the specified directory is present in the cache.
89 * @param directory the directory to check
90 * @param repository the repository in which the directory is stored
91 * @return {@code true} if the directory is in the cache, {@code false}
94 boolean hasCacheForDirectory(File directory, Repository repository) argument
110 * specified directory.
112 * @param directory which directory to fetch modification times for
113 * @param repository the repository in which the directory live
116 getLastModifiedTimes( File directory, Repository repository) argument
[all...]
H A DMonotoneRepository.java71 File directory = new File(directoryName);
81 process = Runtime.getRuntime().exec(argv, null, directory);
116 * file or directory.
118 * @param file The file or directory to retrieve history for
174 File directory = new File(directoryName);
176 Executor executor = new Executor(cmd, directory);
208 File directory = new File(directoryName);
215 Executor executor = new Executor(cmd, directory);
224 executor = new Executor(cmd, directory);
284 File directory
[all...]
H A DGitRepository.java115 File directory = new File(directoryName);
116 Executor exec = new Executor(cmd, directory);
248 File directory = new File(directoryName);
259 process = Runtime.getRuntime().exec(argv, null, directory);
275 process = Runtime.getRuntime().exec(argv, null, directory);
363 File directory = new File(directoryName);
364 exec = new Executor(cmd, directory);
417 File directory = new File(getDirectoryName());
424 Executor executor = new Executor(cmd, directory);
497 private TagEntry buildTagEntry(File directory, Strin argument
551 buildTagList(File directory) argument
[all...]
H A DBazaarRepository.java107 File directory = new File(directoryName);
115 process = Runtime.getRuntime().exec(argv, null, directory);
217 File directory = new File(getDirectoryName());
223 Executor executor = new Executor(cmd, directory);
232 executor = new Executor(cmd, directory);
294 * @param directory Directory where we list tags
297 protected void buildTagList(File directory) { argument
304 pb.directory(directory);
353 File directory
[all...]
H A DRepoRepository.java67 File directory = new File(getDirectoryName());
73 Executor executor = new Executor(cmd, directory);
H A DSubversionRepository.java114 // set to true if we manage to find the root directory
121 File directory = new File(getDirectoryName());
123 Executor executor = new Executor(cmd, directory);
258 File directory = new File(directoryName);
278 Executor executor = new Executor(cmd, directory);
382 pb.directory(file.getParentFile());
424 File directory = new File(getDirectoryName());
432 Executor executor = new Executor(cmd, directory);
474 File directory = new File(directoryName);
481 pb.directory(director
[all...]
H A DMercurialRepository.java140 * file or directory.
142 * @param file The file or directory to retrieve history for
210 File directory = new File(directoryName);
223 process = Runtime.getRuntime().exec(argv, null, directory);
430 pb.directory(file.getParentFile());
505 File directory = new File(directoryName);
511 Executor executor = new Executor(cmd, directory);
521 executor = new Executor(cmd, directory);
600 protected void buildTagList(File directory) { argument
607 pb.directory(director
[all...]
H A DClearCaseRepository.java119 File directory = new File(directoryName);
137 process = Runtime.getRuntime().exec(argv, null, directory);
228 pb.directory(file.getParentFile());
277 File directory = new File(getDirectoryName());
282 process = Runtime.getRuntime().exec(argv, null, directory);
298 process = Runtime.getRuntime().exec(argv, null, directory);
H A DRepository.java74 * Get the history log for the specified file or directory.
165 * @param parent the name of the directory containing the file
245 * @param directory
247 protected void buildTagList(File directory) { argument
291 // If we don't have a directory parser, we can't create the cache
302 File directory = new File(getDirectoryName());
306 history = getHistory(directory, sinceRevision);
324 history = getHistory(directory);
353 * @return true if this is the correct repository for this file/directory.
H A DSSCMRepository.java120 * file or directory.
122 * @param file The file or directory to retrieve history for
171 File directory = new File(parent);
186 "Failed to create temporary directory used by history cache");
195 Properties props = getProperties(directory);
210 Executor exec = new Executor(argv, directory);
233 // delete the temporary directory on close
358 File directory = new File(getDirectoryName());
365 Properties props = getProperties(directory);
379 Executor executor = new Executor(argv, directory);
[all...]
H A DAccuRevRepository.java53 * directories within the source root directory represent the work areas of
181 File directory = new File(parent);
201 Executor executor = new Executor(cmd, directory);
230 executor = new Executor(cmd, directory);
261 * @param path The presumed path to an AccuRev workspace directory.
H A DSCCSRepository.java102 pb.directory(file.getCanonicalFile().getParentFile());
166 pb.directory(file.getCanonicalFile().getParentFile());
H A DPerforceRepository.java128 File directory = new File(getDirectoryName());
134 Executor executor = new Executor(cmd, directory);
H A DFileHistoryCache.java230 "Unable to create cache directory '" + dir + "'.");
316 * Store history for the whole repository in directory hierarchy resembling
347 * history/log command executed for top-level directory of the repo
427 // mkdirs() if there are multiple renamed files from single directory
435 "Unable to create cache directory ' {0} '.", dir);
510 // history information on the directory may change if a file in
511 // a sub-directory change. This will cause us to present a stale
512 // history log until a the current directory is updated and
537 * Check if the directory is in the cache.
538 * @param directory th
542 hasCacheForDirectory(File directory, Repository repository) argument
640 getLastModifiedTimes( File directory, Repository repository) argument
[all...]
H A DCVSRepository.java139 File directory = new File(getDirectoryName());
145 Executor executor = new Executor(cmd, directory);
/opengrok/src/org/opensolaris/opengrok/authorization/
H A DAuthorizationFramework.java56 private final File directory; field in class:AuthorizationFramework
63 * Plugin directory is set through RuntimeEnvironment.
116 File directory = path == null ? null : new File(path);
117 if (path == null || directory == null || !directory.isDirectory() || !directory.canRead()) {
118 LOGGER.log(Level.INFO, "plugin directory not found or not readable: {0}. "
122 this.directory = directory;
182 File[] files = directory
[all...]
H A DAuthorizationPluginClassLoader.java66 private final File directory; field in class:AuthorizationPluginClassLoader
68 public AuthorizationPluginClassLoader(File directory) { argument
70 this.directory = directory;
74 File[] jars = directory.listFiles(new FilenameFilter() {
84 new IOException("Directory " + directory + " is not accessible"));
115 File f = new File(directory, filename);
/opengrok/test/org/opensolaris/opengrok/web/
H A DDirectoryListingTest.java50 private File directory; field in class:DirectoryListingTest
66 File file = new File(directory, name);
114 directory = FileUtilities.createTemporaryDirectory("directory");
127 if (directory != null && directory.exists()) {
128 removeDirectory(directory);
225 * Test directory listing
235 instance.listTo("ctx", directory, out, directory
[all...]
/opengrok/
H A Dmvnw.cmd72 echo Error: JAVA_HOME is set to an invalid directory. >&2
85 @REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
86 @REM Fallback to current working directory if not found.
H A DOpenGrok54 # directory
58 # Every directory in SRC_ROOT is
109 echo " ${progname} index [<directory>]"
227 # files in the "dist" directory after the build is completed)
255 # directory and all of it's subdirectories, touch an empty
256 # .opengrok_skip_history file at the root of that directory
259 # (Every directory in SRC_ROOT is considered a separate project)
649 directory="${domainDirectory}/${OPENGROK_GLASSFISH_DOMAIN}/autodeploy"
651 if [ ! -d "${directory}" ]
657 echo "${directory}"
[all...]
/opengrok/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java265 throw new FileNotFoundException("Failed to create root directory [" + indexDir.getAbsolutePath() + "]");
291 * @param dir The directory to scan
296 String directory = dir;
297 if (directory.startsWith("\\")) {
298 directory = directory.replace('\\', '/');
299 } else if (directory.charAt(0) != '/') {
300 directory = "/" + directory;
302 File file = new File(RuntimeEnvironment.getInstance().getSourceRootFile(), directory);
[all...]
/opengrok/src/org/opensolaris/opengrok/util/
H A DExecutor.java78 * @param workingDirectory The directory the process should have as the
79 * working directory
90 * @param workingDirectory The directory the process should have as the
91 * working directory
105 * @param workingDirectory The directory the process should have as the
106 * working directory
154 processBuilder.directory(workingDirectory);
161 File cwd = processBuilder.directory();
169 "Executing command {0} in directory {1}",
203 "Terminating process of command {0} in directory {
[all...]
/opengrok/src/org/opensolaris/opengrok/configuration/
H A DRuntimeEnvironment.java311 * Get a file representing the directory where the sources are located
313 * @return A file representing the directory where the sources are located
1511 * Starts a watch dog service for a directory. It automatically reloads the
1517 * @param directory root directory for plugins
1519 public void startWatchDogService(File directory) { argument
1520 if (directory == null || !directory.isDirectory() || !directory.canRead()) {
1521 LOGGER.log(Level.INFO, "Watch dog cannot be started - invalid directory
[all...]

Completed in 55 milliseconds

12