Jason Baldridge - 2002-04-22

> I've got version 0.5.6 of grok and 0.8.0 of opennlp.
> what's the easiest way to download the CVS tree? I actually never did this
> from sourceforge.

First, choose a directory where you want to let grok live (for me it
is /home/jason/devel). Then, in that directory, do the following:

  cvs -d:pserver:anonymous@cvs.grok.sourceforge.net:/cvsroot/grok login

Then press Enter as the password, followed by:

  cvs -z3 -d:pserver:anonymous@cvs.grok.sourceforge.net:/cvsroot/grok co grok

You should then see that stuff is being downloaded, with the top-level
directory being "grok".  Once that is done, you've got everything you
need --- all the necessary libraries are in grok/lib and all the grok
code is in grok/src, and so on. You can compile the code by running
"sh ./build.sh" in the grok directory, which puts the compiled class
files in grok/output/classes.

There are also some scripts for running grok in grok/bin, and they
assume that you have defined GROK_HOME as an environment variable.
You'll probably also want to add the jars that Grok uses,
GROK_HOME/output/classes, and GROK_HOME/src/java to your classpath.
For me it looks a bit like this (using bash):

export GROK_HOME=/home/jason/devel/grok
export JARS=`echo ${GROK_HOME}/lib/*.jar | tr ' ' ':'`
export CLASSPATH=${GROK_HOME}/output/classes:${GROK_HOME}/src/java/:${JARS}

You will then be able to run everything with the appropriate versions,
and as things get updated in the CVS, you'll get improvements and
fixes quite easily.