`
jerry_chen
  • 浏览: 281047 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

Eclipse导入Spring、Hibernate源码

    博客分类:
  • JAVA
阅读更多

1、用git下载spring源码包

     spring源码的git地址:git clone git://github.com/SpringSource/spring-framework.git

     参考:https://github.com/spring-projects/spring-framework/#building-from-source

2、用gradle构建eclipse工程

     直接执行import-into-eclipse.bat或者import-into-eclipse.sh(linux),经过漫长时间的等待,构建完成。

3、导入eclipse

     目录里有.project文件就可以把spring的源码导入到eclipse。

 

     Hibernate和Spring都采用gradle构建,方法一样,Hibernate的git路径:git://github.com/hibernate/hibernate-orm.git

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics