/opengrok-sun/src/org/opensolaris/opengrok/history/ |
H A D | SCCSget.java | 46 Executor executor = new Executor(argv); 47 if (executor.exec() == 0) { 48 ret = executor.getOutputStream();
|
H A D | PerforceRepository.java | 81 Executor executor = new Executor(cmd, file.getParentFile()); 82 executor.exec(); 84 BufferedReader reader = new BufferedReader(executor.getOutputReader()); 117 Executor executor = new Executor(cmd, new File(parent)); 118 executor.exec(); 119 return new ByteArrayInputStream(executor.getOutputString().getBytes()); 130 Executor executor = new Executor(cmd, directory); 131 if (executor.exec() != 0) { 132 throw new IOException(executor.getErrorString()); 167 Executor executor [all...] |
H A D | AccuRevRepository.java | 113 Executor executor = new Executor(cmd, file.getParentFile()); 114 executor.exec(); 116 BufferedReader reader = new BufferedReader(executor.getOutputReader()); 144 * Get an executor to be used for retrieving the history log for the given 199 Executor executor = new Executor(cmd, directory); 200 executor.exec(); 202 BufferedReader info = new BufferedReader(executor.getOutputReader()); 231 executor = new Executor(cmd, directory); 232 executor.exec(); 235 new ByteArrayInputStream(executor [all...] |
H A D | RepoRepository.java | 66 Executor executor = new Executor(cmd, directory); 67 if (executor.exec() != 0) { 68 throw new IOException(executor.getErrorString());
|
H A D | MonotoneRepository.java | 159 Executor executor = new Executor(cmd, directory); 160 if (executor.exec() != 0) { 161 throw new IOException(executor.getErrorString()); 167 in = new BufferedReader(executor.getOutputReader()); 204 Executor executor = new Executor(cmd, directory); 205 if (executor.exec() != 0) { 206 throw new IOException(executor.getErrorString()); 213 executor = new Executor(cmd, directory); 214 if (executor.exec() != 0) { 215 throw new IOException(executor [all...] |
H A D | AccuRevHistoryParser.java | 85 Executor executor = repository.getHistoryLogExecutor(file); 86 executor.exec(true, this); 92 executor = repository.getHistoryLogExecutor(file); 93 executor.exec(true, this);
|
H A D | SubversionRepository.java | 101 Executor executor = new Executor(cmd, directory); 102 if (executor.exec() == 0) { 106 Document document = builder.parse(executor.getOutputStream()); 148 * Get an executor to be used for retrieving the history log for the 202 Executor executor = new Executor(cmd, directory); 203 if (executor.exec() == 0) { 204 ret = executor.getOutputStream(); 350 Executor executor = new Executor(cmd, directory); 351 if (executor.exec() != 0) { 352 throw new IOException(executor [all...] |
H A D | PerforceHistoryParser.java | 81 Executor executor = new Executor(cmd, file.getCanonicalFile()); 82 executor.exec(); 83 return parseChanges(executor.getOutputReader()); 92 Executor executor = new Executor(cmd, file.getCanonicalFile().getParentFile()); 93 executor.exec(); 95 return parseFileLog(executor.getOutputReader());
|
H A D | BazaarRepository.java | 55 * Get an executor to be used for retrieving the history log for the 207 Executor executor = new Executor(cmd, directory); 208 if (executor.exec() != 0) { 209 throw new IOException(executor.getErrorString()); 212 if (executor.getOutputString().indexOf("parent branch:") != -1) { 216 executor = new Executor(cmd, directory); 217 if (executor.exec() != 0) { 218 throw new IOException(executor.getErrorString());
|
H A D | ClearCaseHistoryParser.java | 47 Executor executor = repository.getHistoryLogExecutor(file); 48 int status = executor.exec(true, this);
|
H A D | MercurialRepository.java | 80 * Get an executor to be used for retrieving the history log for the 84 * @param changeset the oldest changeset to return from the executor, 276 Executor executor = new Executor(cmd, directory); 277 if (executor.exec() != 0) { 278 throw new IOException(executor.getErrorString()); 281 if (executor.getOutputString().indexOf("paths.default=") != -1) { 286 executor = new Executor(cmd, directory); 287 if (executor.exec() != 0) { 288 throw new IOException(executor.getErrorString());
|
H A D | GitRepository.java | 111 * Get an executor to be used for retrieving the history log for the 340 Executor executor = new Executor(cmd, directory); 341 if (executor.exec() != 0) { 342 throw new IOException(executor.getErrorString()); 345 if (executor.getOutputString().indexOf("remote.origin.url=") != -1) { 351 if (executor.exec() != 0) { 352 throw new IOException(executor.getErrorString());
|
H A D | BazaarHistoryParser.java | 57 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision); 58 int status = executor.exec(true, this);
|
H A D | CVSHistoryParser.java | 162 Executor executor = repository.getHistoryLogExecutor(file); 163 int status = executor.exec(true, this);
|
H A D | GitHistoryParser.java | 157 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision); 158 int status = executor.exec(true, this);
|
H A D | MercurialHistoryParser.java | 72 Executor executor = repository.getHistoryLogExecutor(file, changeset); 73 int status = executor.exec(true, this);
|
H A D | MonotoneHistoryParser.java | 71 Executor executor = repository.getHistoryLogExecutor(file, changeset); 72 int status = executor.exec(true, this);
|
H A D | CVSRepository.java | 94 Executor executor = new Executor(cmd, directory); 95 if (executor.exec() != 0) { 96 throw new IOException(executor.getErrorString()); 103 * Get an executor to be used for retrieving the history log for the
|
H A D | SubversionHistoryParser.java | 153 Executor executor = repos.getHistoryLogExecutor(file, sinceRevision); 154 int status = executor.exec(true, this);
|
H A D | HistoryGuru.java | 497 ExecutorService executor = Executors.newFixedThreadPool(num); 510 executor.submit(new Runnable() { 517 executor.shutdown(); 518 while (!executor.isTerminated()) { 521 executor.awaitTermination(999,TimeUnit.DAYS); 524 "Received interrupt while waiting for executor to finish", exp);
|
/opengrok-sun/src/org/opensolaris/opengrok/web/ |
H A D | SearchHelper.java | 168 private ExecutorService executor = null; field in class:SearchHelper 223 executor = Executors.newFixedThreadPool(noThreads); 226 ? new IndexSearcher(searchables, executor) 443 if (executor != null) { 445 executor.shutdown();
|
/opengrok-sun/test/org/opensolaris/opengrok/index/ |
H A D | IndexerTest.java | 302 Executor executor; 304 executor = new Executor(new String[]{"mkdir", "-p", repository.getSourceRoot() + "/testBug11896"}); 305 executor.exec(true); 307 executor = new Executor(new String[]{"mkfifo", repository.getSourceRoot() + "/testBug11896/FIFO"}); 308 executor.exec(true);
|
/opengrok-sun/src/org/opensolaris/opengrok/index/ |
H A D | IndexDatabase.java | 124 * @param executor An executor to run the job 127 public static void updateAll(ExecutorService executor) throws IOException { argument 128 updateAll(executor, null); 134 * @param executor An executor to run the job 138 static void updateAll(ExecutorService executor, IndexChangedListener listener) throws IOException { argument 156 executor.submit(new Runnable() { 172 * @param executor An executor t 177 update(ExecutorService executor, IndexChangedListener listener, List<String> paths) argument 444 optimizeAll(ExecutorService executor) argument [all...] |
H A D | Indexer.java | 696 ExecutorService executor = Executors.newFixedThreadPool(noThreads); 700 IndexDatabase.updateAll(executor, progress); 702 IndexDatabase.optimizeAll(executor); 736 executor.submit(new Runnable() { 755 executor.shutdown(); 756 while (!executor.isTerminated()) { 759 executor.awaitTermination(999, TimeUnit.DAYS); 761 log.log(Level.WARNING, "Received interrupt while waiting for executor to finish", exp);
|
/opengrok-sun/src/org/opensolaris/opengrok/configuration/ |
H A D | RuntimeEnvironment.java | 297 Executor executor = new Executor(new String[]{getCtags(), "--version"}); 299 executor.exec(false); 300 String output = executor.getOutputString();
|