I am trying to use Opengrok on Windows machine
What I did until now is
1. Downloaded opengrok-0.6.1.tar[1] and unzipped the contents to a folder
2. Created a new folder structure
Opengrok 
|_bin
|_data
|_source
3. Copied the contents of \WEB-INF\lib to Opengrok\bin
4. Ran the following command 
java -classpath "C:\Program Files\Apache Software Foundation\Tomcat 
5.5\common\lib\org.apache.commons.codec.1.3.jar";"C:\Program 
Files\MyInstallations\OpenGrok\bin\org.apache.commons.jrcs.diff.jar"; 
"C:\ProgramFiles\MyInstallations\OpenGrok\bin\org.apache.commons.jrcs.rcs.jar"; 
"C:\Program Files\MyInstallations\OpenGrok\bin\lucene-core-2.2.0.jar" -Xmx1524m 
-jar opengrok.jar -W "C:\Program 
Files\MyInstallations\OpenGrok\bin\data\configuration.xml" -P -S -v -s 
"C:\Program Files\MyInstallations\OpenGrok\bin\source" -d "C:\Program 
Files\MyInstallations\OpenGrok\bin\data"

I get the following error 
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Program 
Files\MyInstallations\OpenGrok\bin\org/apache/commons/jrcs/rcs/jar;C:\Program 
Files\MyInstallations\OpenGrok\bin\lucene-core-2/2/0/jar

Can someone let me know how to proceed?
 
 
This message posted from opensolaris.org

Reply via email to