From 79eb43f2936588c0e9df97781aa3e0477e3a8480 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Fri, 12 Nov 2010 10:16:31 -0800 Subject: [PATCH] Add note regarding GRADLE_OPTS to readme.txt --- readme.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index 0b0df0c962..b56cd0a0f7 100644 --- a/readme.txt +++ b/readme.txt @@ -2,13 +2,17 @@ To check out the project and build from source, do the following: git clone --recursive git://git.springsource.org/spring-integration/spring-integration.git -cd spring-integration -./gradlew build + cd spring-integration + ./gradlew build Note: the --recursive switch above is important, as spring-integration uses git submodules, which must themselves be cloned and initialized. If --recursive is omitted, doing so becomes a multi-step process. +If you encounter heap space errors during the build, increase the heap size for +gradle: + GRADLE_OPTS="-Xmx1024m" + ------------------------------------------------------------------------------- To generate Eclipse metadata (.classpath and .project files), do the following: