OpenGrok Use Cases

Update only one project unser SRC_ROOT folder

# Add project(S) to OpenGrok instance(Not indexed)
java -jar ~/program/opengrok-main/lib/opengrok.jar  \
-W ~/program/opengrok-opengrok-testapp/etc/configuration.xml \
-s ~/program/opengrok-opengrok-testapp/src \
-d ~/program/opengrok-opengrok-testapp/data/ \
-P -U localhost:1905 -w /opengrok-testapp  -a on /starfish-luna-surface-manager

# Run an indexing job for a project
READ_XML_CONFIGURATION=/vol/users/gatekeeper.tvsw/program/opengrok-opengrok-testapp/etc/configuration.xml
OpenGrok indexpart
/vol/users/gatekeeper.tvsw/program/opengrok-opengrok-testapp/src
/starfish-luna-surface-manager

 

Advertisements