Indexer.java revision 99
0N/A * The contents of this file are subject to the terms of the 0N/A * Common Development and Distribution License (the "License"). 0N/A * You may not use this file except in compliance with the License. 0N/A * language governing permissions and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * If applicable, add the following below this CDDL HEADER, with the 0N/A * fields enclosed by brackets "[]" replaced with your own identifying 0N/A * information: Portions Copyright [yyyy] [name of copyright owner] 930N/A * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 0N/A * Use is subject to license terms. 8N/A * Creates and updates an inverted source index 77N/A * as well as generates Xref, file stats etc., if specified 0N/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" +
0N/A " opengrok.jar [-O | -l | -t] DATA_ROOT\n" +
439N/A "\t-e economical - consumes less disk space\n" +
491N/A "\t-c path to ctags\n" +
465N/A "\t-R Read configuration from file\n" +
465N/A "\t-W Write the current running configuration\n" +
491N/A "\t-U Send configuration to hostname:port\n" +
491N/A "\t-P Generate a project for each toplevel directory\n" +
491N/A "\t-p Use the project specified by the project path as the default project\n" +
886N/A "\t-n Do not generate indexes\n" +
886N/A "\t-H Start a threadpool to read history history\n" +
886N/A "\t-w root URL of the webapp, default is /source\n" +
886N/A "\t-i ignore named files or directories\n" +
886N/A "\t-m Maximum words in a file to index\n" +
886N/A "\t-S Search and add \"External\" repositories (Mercurial etc)\n" +
491N/A "\t-s SRC_ROOT is root directory of source tree\n" +
491N/A "\t default: last used SRC_ROOT\n" +
491N/A "\tDATA_ROOT - is where output of indexer is stored\n" +
491N/A "\tsubtree - only specified files or directories under SRC_ROOT are processed\n" +
65N/A "\t if not specified all files under SRC_ROOT are processed\n" +
65N/A "\n\t-O optimize the index \n" +
65N/A "\t-l list all files in the index \n" +
65N/A "\t-t lists tokens occuring more than 5 times. Useful for building a unix dictionary\n" +
260N/A * @param argv argument vector 207N/A //Run Scope GUI here I am running Indexing GUI for testing 207N/A //new IndexerWizard(null).setVisible(true); 260N/A // Parse command line options: 491N/A // The projects should be sorted...