cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: How to solve Maven 2 problems
Date Fri, 26 Jan 2007 17:20:17 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1164.html

Document ID: 1164
Branch: main
Language: default
Name: How to solve Maven 2 problems (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 1/20/07 8:20:10 PM
Updated by: Grzegorz Kossakowski

A new version has been created, state: draft

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 3479 bytes (previous version: 2974 bytes)
Content diff:
(57 equal lines skipped)
    <a href="http://maven.apache.org/guides/mini/guide-mirror-settings.html">configuring
    mirrors</a>.</p>
    
--- <pre> </pre>
+++ <h1>Common Maven errors</h1>
    
+++ <h2>java.lang.OutOfMemoryError: Java heap space</h2>
+++ 
+++ <p>It occurs when you try whole Cocoon sources, especially
+++ <a href="daisy:1252">serializers block</a>. The problem lays in code of this
+++ block that demands more than 64mb of memory in order to compile. Solution is
+++ simple - give Maven more memory by setting environment variable:</p>
+++ 
+++ <pre>[Win] set MAVEN_OPTS=-Xmx=256m
+++ [Unix] MAVEN_OPTS='-Xmx=256m'
+++ </pre>
+++ 
+++ <p>And then fire your <tt>mvn</tt> command as before. It should work
now.</p>
+++ 
    <h1>And when your build works</h1>
    
    <h2>Run Maven in offline mode</h2>
(16 equal lines skipped)


Mime
View raw message