Building from source

Previous releases relied upon the Maven build-system. Unfortunately, the structure of Drools grew to a point that it wasn't conveniently supported by Maven. So, instead of futzing around, we now have a custom bash script to do the builds. No, it's not sexy, but it works pretty well.

So, you either need to be using a respectable operation system that includes a bash interpreter, else you need to install Cygwin on your Windows machine.

After you've either upacked a source release or used CVS to obtain a source tree, locate the buid.sh script in the top-level directory.

The build.sh is basically a poor man's version of Make. Run the build.sh script with zero or more of the following arguments:

The simplest way to build everything is to simply type:

./build.sh

When the build completes, a new directory named ./build/ will have been created in the top-level directory of the source tree.

The directory ./build/lib/ contains all constructed jars along with all matching dependencies. Simply deploy all of the produces jars within you \\$CLASSPATH to have a fully functional installation.

The directory ./build/site/ contains a full replica of the project website, including JavaDocs and, if possible given the build environment, the PDF documentation.