Install OpenGrok on Windows

http://blog.csdn.net/belyxiong/article/details/6065779
http://jdevel.wordpress.com/2011/03/26/running-opengrok-on-windows/

1. Rebuild index.
java -Xmx1524m -jar opengrok.jar -W "C://OpenGrok//data//configuration.xml" -P -S -v -s "C://OpenGrok//source" -d "C://OpenGrok//data"

2. Reload in Glassfish is needed in order to reflect the updated index.

3. Change the web app descriptor:
/etc/opengrok/data/configuration.xml 
to 
C:/OpenGrok/data/Configuration.xml

4. Install, Configure, and Deploy .war Application in Glassfish
http://tazlambert.wordpress.com/2008/07/19/install-configure-and-deploy-war-application-in-glassfish/

5. How to build OpenGrok from source
http://hub.opensolaris.org/bin/view/Project+opengrok/builddescription
Note:
When build it from source, JRCS project (inside the OpenGrok source code) must be added in the source package folder. Otherwise, the build would be incomplete and failed to be deployed. It took me long and frustrating hours to figure this out by painful trial and error process where there seems not much help on Google could of help. Open source solution does have this immaturity and lack of accurate document embedded in.

Comments

Popular posts from this blog

Mathematica vs Matlab vs Maple, discuss (Wilmott Forums)