当前位置: 代码迷 >> Android >> spring android 编译环境筹建
  详细解决方案

spring android 编译环境筹建

热度:85   发布时间:2016-05-01 19:52:06.0
spring android 编译环境搭建

想学习下spring android对于前后台数据交互的方式,就下载源码看看。

下载地址

git://github.com/SpringSource/spring-android.git

?

======================= Spring Android Project Readme ===========================

To check out the project and build from source, do the following:

?

git clone --recursive git://github.com/SpringSource/spring-android.git

cd spring-android

./gradlew build

?

Note: the --recursive switch above is important, as spring-mobile uses

git submodules, which must themselves be cloned and initialized. If --recursive

is omitted, a full checkout becomes the multi-step process of:

?

git clone git://github.com/SpringSource/spring-android.git

git submodule init

git submodule update

?

-------------------------------------------

To generate Eclipse metadata (.classpath and .project files), do the following:

?

?./gradlew eclipse

?

Once complete, you may then import the projects into Eclipse as usual:

?

?File -> Import -> Existing projects into workspace

?

-------------------------------------------

To generate IDEA metadata (.iml and .ipr files), do the following:

?

?./gradlew idea

?

-------------------------------------------

To build the JavaDoc, do the following from within the root directory:

?

?./gradlew :docs:api

?

The result will be available in 'docs/build/api'.

===============================================================================


  相关解决方案