Some times I ran into similar problems (maybe not be exact same problem)
compiling drools-compiler module on Windows:
[INFO] Compiling 340 source files to
D:\svn\drools\trunk\drools-compiler\target\
classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError
at com.sun.tools.javac.jvm.Items$LocalItem.<init>(Items.java:369)
at com.sun.tools.javac.jvm.Items.makeLocalItem(Items.java:111)
at com.sun.tools.javac.jvm.Gen.visitIdent(Gen.java:2066)
at com.sun.tools.javac.tree.Tree$Ident.accept(Tree.java:1003)
at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:811)
at com.sun.tools.javac.jvm.Gen.visitBinary(Gen.java:1906)
at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926)
When I had this problem, I simply do it again, most of time it helps.
Note, this problem only occurs on Windows. Have not got time to dig deep
into this yet.
Cheers,
Jervis
mardo wrote:
*(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(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] *Im Auftrag von *mardo
*Gesendet:* Dienstag, 3. November 2009 20:15
*An:* rules-users(a)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
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users