cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: How to solve Maven 2 problems
Date Tue, 30 Jan 2007 04:11:14 GMT
A document has been updated:

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


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="">configuring
--- <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
    <h1>And when your build works</h1>
    <h2>Run Maven in offline mode</h2>
(16 equal lines skipped)

View raw message