Build Spring Integration from Source


Install Git if you have not already, and then execute the following commands:
git clone --recursive git://github.com/SpringSource/spring-integration.git
cd spring-integration
./gradlew build eclipse

Notes:
  • 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"
  • If you would like to skip the execution of unit tests, add '-x test' as in: ./gradlew build -x test
  • The 'eclipse' task generates Eclipse metadata (.classpath and .project files). If you use Idea, replace it with 'idea'. If you use neither, leave it out.