*(This should be also valid for 5.1, I just want to keep the relation to previous postings on this issue)*
 
In case anyone encounters similar obstacles: I have used newer versions of ANT and MAVEN for building Drools 5.1 from trunk. Using the exact versions as shown below did not yield the cyclic reference / stack overflow type of error.
 
Additionally I ran into a number of test problems during build related to my locale (Germany) and date formatting. As an intermediary result, the following settings helped preventing some (but not all) build problems:
 
 
set path=C:\Program Files\Java\jdk1.5.0_08\bin;C:\droolsinst\apache-maven-2.0.9-bin\bin;C:\droolsinst\apache-ant-1.7.0-bin\bin
set MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1024m -Duser.country=EN -Duser.language=en
set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_08
set MAVEN_HOME=C:\droolsinst\apache-maven-2.0.9-bin\bin
set ANT_HOME=C:\droolsinst\apache-ant-1.7.0-bin\bin
set ANT_OPTS=-Duser.country=EN -Duser.language=en
 
Best
 
 
Markus
 
 
 
 


Von: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] Im Auftrag von mardo
Gesendet: Dienstag, 3. November 2009 20:15
An: rules-users@lists.jboss.org
Betreff: Re: [rules-users] Error trying to build Drools 5.0 from source

Hi,

similar as http://lists.jboss.org/pipermail/rules-users/2009-October/010742.html,

I have Maven build problems for Drools 5.1

- "The projects in the reactor contain a cyclic reference …" when including -Ddocumentation in the Maven parameters
- java.lang.StackOverflowError when excluding "-Ddocumentation"

I tried both setting Java (home and path) to jdk1.5.0_19 and jdk1.6.0_10

My MAVEN_OPTS are set to "-XX:MaxPermSize=256m -Xmx1224m -Xss20m"

Do you have any suggestions?

Thanks and best


Markus