Author: mpercy
Date: Wed Jul 11 08:55:05 2012
New Revision: 1360073
URL: http://svn.apache.org/viewvc?rev=1360073&view=rev
Log:
Add MAVEN_OPTS build workaround to DEVNOTES for 1.2.0
Modified:
flume/branches/branch-1.2.0/DEVNOTES
Modified: flume/branches/branch-1.2.0/DEVNOTES
URL:
http://svn.apache.org/viewvc/flume/branches/branch-1.2.0/DEVNOTES?rev=1360073&r1=1360072&r2=1360073&view=diff
==============================================================================
--- flume/branches/branch-1.2.0/DEVNOTES (original)
+++ flume/branches/branch-1.2.0/DEVNOTES Wed Jul 11 08:55:05 2012
@@ -39,6 +39,23 @@ We are using Maven v3.x. The Maven buil
to create build artefacts. At the highest level, the phases that are relevent
to most devs are "compile" -> "test" -> "package" -> "install".
+Set MAVEN_OPTS to give the Flume build enough RAM to build.
+
+ export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M"
+
+Note: If you see a permgen error (below), you need to increase the perm gen
size.
+
+[ERROR] PermGen space -> [Help 1]
+[ERROR]
+[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
+[ERROR] Re-run Maven using the -X switch to enable full debug logging.
+[ERROR]
+[ERROR] For more information about the errors and possible solutions, please
read the following articles:
+[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
+
+Builds
+------
+
A development build that runs unit tests and installs to local Maven repo.
This builds and tests all plugins.