首页 > 代码库 > How to import the Spring Framework sourcecode into Eclipse

How to import the Spring Framework sourcecode into Eclipse

原文链接: http://www.cnblogs.com/springsource/archive/2012/12/14/2818575.html


通过 git download source code之后,需要生成eclipse project的metadata文件才能成功import,因此run一步import-into-eclipse.bat,通过提示可以看到会调用gradlew.bat,后者有一行

set GRADLE_OPTS=-XX:MaxMetaspaceSize=1024m -Xmx1024m -XX:MaxHeapSize=256m %GRADLE_OPTS%


其中MaxMetaspaceSize需要JDK8支持,要么去掉此参数,要么升级到JDK8.



本文出自 “雨寒” 博客,请务必保留此出处http://august.blog.51cto.com/59588/1567923

How to import the Spring Framework sourcecode into Eclipse