25.02.2015 Views

Introducing Spring Framework

Introducing Spring Framework

Introducing Spring Framework

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A ■ Installing Tools<br />

■ ■Note Using GVM on Windows So far GVM only works on Unix OS, but there is one way to make it work on<br />

Windows. You can either install Git (another great tool for code version control; http://git-scm.com/download/win)<br />

or cygwin (a Unix/Linux environment for Windows; www.cygwin.com/).<br />

Installing Gradle<br />

Gradle is the primary tool that you will be using for building, testing, and deploying your <strong>Spring</strong> application. You can<br />

find Gradle at www.gradle.org (see Figure A-19).<br />

Figure A-19. Gradle Web Page<br />

Installing Gradle on Windows<br />

To install Gradle on Windows, first you need to go to www.gradle.org/downloads and download the gradle-1.12-all.zip<br />

file. After you download it, you can uncompress it and put it in the C:\Tools\ folder.<br />

Next, you need to add a new environment variable, GRADLE_HOME, and add the GRADLE_HOME\bin to the Path<br />

variable as well. Remember how you added the JAVA_HOME variable? This is the same, so go to Control Panel ➤<br />

System and Security ➤ System ➤ Advanced system settings ➤ Environment Variables. See Figure A-20 that<br />

shows the Environment variables dialog for GRADLE_HOME.<br />

304

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!