Indexer.java revision 119
494N/A * See LICENSE.txt included in this distribution for the specific
494N/A * file and include the License file at LICENSE.txt.
697N/A "opengrok.jar [-qe] [-c ctagsToUse] [-H] [-R filename] [-W filename] [-U hostname:port] [-P] [-p project-path] [-w webapproot] [-i ignore_name [ -i ..]] [-n] [-s SRC_ROOT] DATA_ROOT [subtree .. ]\n" +
494N/A boolean searchRepositories = false;
494N/A boolean addProjects = false;
494N/A boolean refreshHistory = false;
700N/A System.err.println(" Ex: \"-Q on\" will just scan a \"chunk\" of the file and insert \"[..all..]\"");
700N/A System.err.println(" \"-Q off\" will try to build a more accurate list by reading the complete file.");
++optind;
++optind;
} catch (IOException e) {
if (searchRepositories) {
if (addProjects) {
int ret;
return ret;
if (refreshHistory) {
for (Map.Entry<String, ExternalRepository> entry : RuntimeEnvironment.getInstance().getRepositories().entrySet()) {
} catch (Exception e) {
e.printStackTrace();
if (runIndex) {
Index idx = new Index(env.isVerbose() ? new StandardPrinter(System.out) : new NullPrinter(), new StandardPrinter(System.err));
} catch (Exception e) {