Indexer.java revision 1393
0N/A * See LICENSE.txt included in this distribution for the specific
0N/A * file and include the License file at LICENSE.txt.
260N/A boolean optimizedChanged = false;
1016N/A boolean searchRepositories = false;
207N/A boolean addProjects = false;
1185N/A boolean refreshHistory = false;
77N/A boolean createDict = false;
491N/A addProjects = true;
491N/A refreshHistory = true;
491N/A System.err.println(" Ex: \"-O on\" will optimize the database as part of the index generation");
77N/A optimizedChanged = true;
491N/A searchRepositories = true;
491N/A System.err.println(" Ex: \"-Q on\" will just scan a \"chunk\" of the file and insert \"[..all..]\"");
491N/A System.err.println(" \"-Q off\" will try to build a more accurate list by reading the complete file.");
491N/A boolean searchRepositories,
491N/A boolean addProjects,
491N/A boolean refreshHistory,
491N/A boolean createDict,
1185N/A if (listRepoPathes) {
491N/A } catch (HistoryException e) {
1092N/A + e.getLocalizedMessage());
491N/A if (addProjects) {
491N/A if (refreshHistory) {
491N/A if (createDict) {
491N/A throws IOException {
1190N/A log.log(Level.SEVERE, "Failed to send configuration to " + configHost+" (is web application server running with opengrok deployed?)", ex);
private Indexer() {