Re: [rules-users] Error trying to build Drools 5.0 from source

2009-11-18 Thread Jervisliu
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-boun...@lists.jboss.org 
 [mailto:rules-users-boun...@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

 

 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users
   

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Error trying to build Drools 5.0 from source

2009-11-17 Thread mardo
*(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:\drool
sinst\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-boun...@lists.jboss.org
[mailto:rules-users-boun...@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
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Error trying to build Drools 5.0 from source

2009-11-03 Thread mardo
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Error trying to build Drools 5.0 from source

2009-10-07 Thread Mulcahy, Lawrence
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] 

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Error trying to build Drools 5.0 from source

2009-10-07 Thread Mulcahy, Lawrence
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] 

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Error trying to build Drools 5.0 from source

2009-10-07 Thread Mulcahy, Lawrence
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-boun...@lists.jboss.org 
[mailto:rules-users-boun...@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-boun...@lists.jboss.org 
[mailto:rules-users-boun...@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] 

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users