http://defect.opensolaris.org/bz/show_bug.cgi?id=19164

           Summary: OpenGrok shell script should have a way to tell not to
                    send config to webapp
    Classification: Development
           Product: opengrok
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: indexer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


OpenGrok shell script always sets WEBAPP_CONFIG_ADDRESS in
DefaultInstanceConfiguration()

    221     # OPTIONAL: Configuration Address (host:port)
    222     #           (conf/web.xml default is localhost:2424)
    223     WEBAPP_CONFIG_ADDRESS="-U localhost:2424"

which is later used in StdInvocation():

    672 StdInvocation()
    673 {
    674     ${DO} ${JAVA} ${JAVA_OPTS} ${PROPERTIES}                    \
    675         ${LOGGER_PROPERTIES}                                    \
    676         ${JAVA_DEBUG}                                           \
    677         -jar ${OPENGROK_JAR}                                    \
    678         ${IGNORE_PATTERNS} ${ENABLE_PROJECTS}                   \
    679         ${DERBY_HISTORY_CACHE}                                  \
    680         ${SCAN_FOR_REPOSITORY} ${REMOTE_REPOSITORIES}           \
    681         ${SCAN_DEPTH}                                           \
    682         ${VERBOSE} ${QUIET}                                     \
    683         ${PROGRESS}                                             \
    684         ${EXUBERANT_CTAGS:+-c} ${EXUBERANT_CTAGS}               \
    685         ${MAX_INDEXED_WORDS} ${SKIN} ${LEADING_WILDCARD}        \
    686         ${READ_XML_CONF}                                        \
    687         -W ${XML_CONFIGURATION}                                 \
    688         ${WEBAPP_CONFIG_ADDRESS}                                \
    689         -s ${SRC_ROOT} -d ${DATA_ROOT}                          \
    690         "${@}"
    691 
    692 }

Sometimes, e.g. when performing reindexing on the side in preparation for
upgrade to new OpenGrok version one does not want the configuration to be sent
to the web application at the end of reindexing.

OpenGrok script should offer an option to suppress WEBAPP_CONFIG_ADDRESS for
the standard invocation.

Also, it would not hurt if it was configurable.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to