[rules-users] build from svn - report

Clandes Tino clandestino_bgd at yahoo.co.uk
Fri Aug 14 12:15:22 EDT 2009


Hi,
I am trying to build latest source from svn, in order to try new rulesflow features. I am following instructions provided in README.txt

I have maven 2.0.9 and execute:
mvn -Declipse -Ddocumentation clean install 
-DlocalEclipseDrop=C:/Users/agaton/tools

It seems that it does not work with jdk 1.5.0_16 and Windows Vista Business SP2.

[INFO] [compiler:compile]
[INFO] Compiling 339 source files to C:\Users\agaton\projects\jbossrules\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.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)


Then, if I switch JAVA_HOME to jdk1.6.0_14
I see two errors in tests:

Tests in error:
  testUnmarshallingPerformance(org.drools.integrationtests.LargeRuleBaseSerializationTest)
  testUnmarshallWithCompressionPerformance(org.drools.integrationtests.LargeRuleBaseSerializationTest)

Tests run: 1244, Failures: 0, Errors: 2, Skipped: 1

Then, I tried to run second command:
mvn -Ddocumentation -Declipse -DskipTests package javadoc:javadoc assembly:assembly 
    -DlocalEclipseDrop=C:/Users/agaton/tools/jboss-tools

with: 

set MAVEN_OPTS=-Xmx512m

but the maven hangs on one javadoc.

with:

set MAVEN_OPTS=-Xmx1024m

it works ok

best,
Milan


Send instant messages to your online friends http://uk.messenger.yahoo.com 





More information about the rules-users mailing list