Source

wauter
There is a newer version of this page. You can find it here.

To get the sources, install Bazaar first.

Then, depending on which branch you need, do one or more of:

bzr branch lp:~codak/codak/codak-core codak-core
bzr branch lp:~codak/codak/codak-terms codak-terms
bzr branch lp:~codak/codak/codak-mysql codak-mysql
bzr branch lp:~codak/codak/codak-dist codak-dist

Explanation of the branches:

  • codak-core: all of codak-core: the web interface and basic infrastructure
  • codak-terms: the term extraction and management extension
  • codak-mysql: an extension to MySQL which is required by codak-terms
  • codak-dist: distribution repository management scripts (normally not needed)

Compiling sources

CoDAK uses Maven to manage the build process. This includes getting all the dependencies, compiling sources, etc. Make sure you know the basics of Maven before continuing.

To build everything, go to the branch's root directory and type:

mvn install

To build only a specific package, go to the package's root directory and type:

mvn -N -f ../pom.xml install
mvn install

The first command is required only the first time. It tells Maven to install the parent package but any other package down the tree.


MongoDB Logo MongoDB