Spring Mobile is an extension to Spring MVC that aims to simplify the development of mobile web applications.
-
Clone the repository from GitHub:
$ git clone git://github.com/SpringSource/spring-mobile.git
-
Navigate into the cloned repository directory:
$ cd spring-mobile
-
The project uses Gradle to build:
$ ./gradlew build
To generate Eclipse metadata (.classpath and .project files), use the following Gradle task:
$ ./gradlew eclipse
Once complete, you may then import the projects into Eclipse as usual:
File -> Import -> Existing projects into workspace
Alternatively, SpringSource Tool Suite has built in support for Gradle, and you can simply import as Gradle projects.
To generate IDEA metadata (.iml and .ipr files), use the following Gradle task:
$ ./gradlew idea
Use the following Gradle task to build the JavaDoc
$ ./gradlew :docs:api
Note: The result will be available in 'docs/build/api'.