多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
本文作者:苏生米沿 本文地址:[http://blog.csdn.net/sushengmiyan/article/details/50525363](http://blog.csdn.net/sushengmiyan/article/details/50525363) hibernate使用的是gradle自动构建工具,对于我们不熟悉gradle的来说,从gitHub上下载了hibernate的源码很容易,q但是要把项目依赖什么的构建成功也是需要耗费不少精力的。 看github下hibernate的介绍就知道,hibernate为使用eclipse开发贡献的开发者提供了指导: [https://developer.jboss.org/wiki/ContributingToHibernateUsingEclipse?_sscc=t](https://developer.jboss.org/wiki/ContributingToHibernateUsingEclipse?_sscc=t) [https://developer.jboss.org/wiki/BuildingHibernateORM4x5x](https://developer.jboss.org/wiki/BuildingHibernateORM4x5x) 看一下不难发现,需要我们做的事情很简单: 1).github下载hibernate项目 源码 https://github.com/hibernate/hibernate-orm。 2).gralde官网下载gralde。http://gradle.org/gradle-download/ 3).配置gradle环境变量。 4).使用cmd命令行切换到下载的解压的hibernateorm目录下,执行gradlew idea 静静的等待编译。成功之后,就是良好的eclipse的结构了,剩下的就是等待了。等待build success 哈哈。 ![](https://box.kancloud.cn/2016-02-03_56b2156d4f794.jpg) 导入eclipse开始工作呀。