Building Merlin from CVS

Checkout

To build the Merlin installation you need to checkout the Merlin project from CVS. The commands in this document assume a unix-style system; the procedure under windows is similar, and identical if you have cygwin installed.

$ cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login
$ cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co avalon/util
$ cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co avalon/meta
$ cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co avalon/repository
$ cvs -z3 -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co avalon/merlin

Build

Once checkout is complete you can build Merlin using Maven as follows:

$ cd avalon/meta
$ maven
$ cd ../util
$ maven
$ cd ../repository
$ maven
$ cd ../merlin
$ maven

The above build procedure will create a installation directory containing the Merlin system at

+-- avalon
  +-- merlin
    +-- target
      +-- merlin

Replicate

Copy the 'merlin' directory to your preferred location installation location. For example, you may want to copy the installation dir to the /opt dir:

$ cp -Rf merlin/target/merlin /opt/merlin

Continue with the binary install instructions concerning the setup of environment variables to complete your installation.