I worked around that by commenting out the test testDoLoopScheduledActivation in

drools-core/src/test/java/org/drools/reteoo/SchedulerTest.java.

 

I tried again.  It ran for quite a while but failed with this error:

 

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] An Ant BuildException has occured: Directory does not exist:/home/lmulcahy/java/drools/src/drools-eclipse/org.drools.eclipse/lib

 

Workaround: mkdir drools-eclipse/org.drools.eclipse/lib

 

Also somewhere in there I got an out of memory: permgen exception.

Fixed with

 

set MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1024m

 

With that, the build was able to run to completion.

 

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESSFUL

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 33 minutes 51 seconds

[INFO] Finished at: Wed Oct 07 16:03:04 MDT 2009

[INFO] Final Memory: 109M/464M

 


From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Mulcahy, Lawrence
Sent: Wednesday, October 07, 2009 1:46 PM
To: 'Rules Users List'
Subject: Re: [rules-users] Error trying to build Drools 5.0 from source

 

Now the build runs for a while but gets some errors in the tests

for drools-core.  (See attachments)

----
Larry Mulcahy   Good system software should be free, like air

 

 


From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Mulcahy, Lawrence
Sent: Wednesday, October 07, 2009 10:39 AM
To: 'rules-users@lists.jboss.org'
Subject: Re: [rules-users] Error trying to build Drools 5.0 from source

The error goes away if I leave out –Ddocumentation.

 


From: Mulcahy, Lawrence
Sent: Wednesday, October 07, 2009 10:38 AM
To: 'rules-users@lists.jboss.org'
Subject: Error trying to build Drools 5.0 from source

 

Anyone know what this means?  I downloaded drools-5.0-src.zip

from http://www.jboss.org/drools/downloads.html.  I extracted it,

cded into the top directory and after perusing the README typed

 

$ mvn -Declipse -Ddocumentation clean install

 

The output:

 

[INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------

[ERROR] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.drools:docbook-xsl-drools'}' and 'Vertex{label='org.drools:docbook-style-drools'}' introduces to cycle in the graph org.drools:docbook-style-drools --> org.drools:docbook-xsl-drools --> org.drools:docbook-style-drools

[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 4 seconds

[INFO] Finished at: Wed Oct 07 10:33:21 MDT 2009

[INFO] Final Memory: 10M/80M

[INFO] ------------------------------------------------------------------------