<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [rules-users] Error trying to build Drools 5.0 from source</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6001.18294" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2>*(This should be also valid for 5.1, I just want to keep
the relation to previous postings on this issue)*</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2>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:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><FONT face=Arial color=#0000ff
size=2>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<BR>set
MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1024m -Duser.country=EN
-Duser.language=en<BR>set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_08<BR>set
MAVEN_HOME=C:\droolsinst\apache-maven-2.0.9-bin\bin<BR>set
ANT_HOME=C:\droolsinst\apache-ant-1.7.0-bin\bin<BR>set
ANT_OPTS=-Duser.country=EN -Duser.language=en</FONT>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2>Best</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2>Markus</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=729331217-17112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <B>Im Auftrag von
</B>mardo<BR><B>Gesendet:</B> Dienstag, 3. November 2009 20:15<BR><B>An:</B>
rules-users@lists.jboss.org<BR><B>Betreff:</B> Re: [rules-users] Error trying to
build Drools 5.0 from source<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hi,</FONT> </P>
<P><FONT face=Arial size=2>similar as </FONT><A
href="http://lists.jboss.org/pipermail/rules-users/2009-October/010742.html"><U><FONT
face=Arial color=#0000ff
size=2>http://lists.jboss.org/pipermail/rules-users/2009-October/010742.html</FONT></U></A><FONT
face=Arial size=2>, </FONT></P>
<P><FONT face=Arial size=2>I have Maven build problems for Drools 5.1</FONT>
</P>
<P><FONT face=Arial size=2>- "</FONT><FONT face="Times New Roman">The projects
in the reactor contain a cyclic reference …" when including -Ddocumentation in
the Maven parameters</FONT> <BR><FONT face="Times New Roman">-
java.lang.StackOverflowError when excluding "-Ddocumentation"</FONT> </P>
<P><FONT face="Times New Roman">I tried both setting Java (home and path) to
jdk1.5.0_19 and jdk1.6.0_10</FONT> </P>
<P><FONT face="Times New Roman">My MAVEN_OPTS are set to "-XX:MaxPermSize=256m
-Xmx1224m -Xss20m"</FONT> </P>
<P><FONT face="Times New Roman">Do you have any suggestions?</FONT> </P>
<P><FONT face="Times New Roman">Thanks and best </FONT></P><BR>
<P><FONT face="Times New Roman">Markus</FONT> </P></BODY></HTML>