Maven Build Instructions

If you haven't already, go and get Maven 1.1 (beta 2 is fine at time of writing) from Apache. Maven will make building this a whole lot easier then otherwise.

1. Download Drools via CVS

2. Change to top level and build Drools - this is the default maven goal:

D:\java\workspaces\drools-2.0>maven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

build:start:

jar-all:
multiproject:projects-init:
    [echo] Gathering project list
Starting the reactor...
Our processing order:
Drools :: Rete-OO Core
Drools :: Semantics Module Framework
Drools :: Base Semantics Module
Drools :: Semantics IO Library
Drools :: Semantics Module Test Framework
Drools :: Java Semantics Module
Drools :: Groovy Semantics Module
Drools :: Python Semantics Module
Drools :: JSR-94 API Module
Drools :: Example Library
+----------------------------------------
| Gathering project list Drools :: Rete-OO Core
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: Semantics Module Framework
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: Base Semantics Module
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: Semantics IO Library
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: Semantics Module Test Framework
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: Java Semantics Module
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: Groovy Semantics Module
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: Python Semantics Module
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: JSR-94 API Module
| Memory: 4M/6M
+----------------------------------------
+----------------------------------------
| Gathering project list Drools :: Example Library
| Memory: 4M/6M
+----------------------------------------
Starting the reactor...
Our processing order:
Drools :: Rete-OO Core
Drools :: Semantics Module Framework
Drools :: Base Semantics Module
Drools :: Semantics IO Library
Drools :: Semantics Module Test Framework
Drools :: Java Semantics Module
Drools :: Groovy Semantics Module
Drools :: Python Semantics Module
Drools :: JSR-94 API Module
Drools :: Example Library

(bunch of output)

BUILD SUCCESSFUL
Total time: 2 minutes 9 seconds
Finished at: Mon Mar 21 00:26:24 CET 2005

3. Change to the drools-examples directory and run the examples ie:

maven fibonacci-java
maven fibonacci-python
maven fibonacci-groovy

Labels

 
(None)