gradle 轉換spring原始碼成eclipse工程
阿新 • • 發佈:2019-02-18
方式二、通過eclipse的svn檢出:
2、spring原始碼轉換成eclipse工程
方式一:轉換通過Git客戶端下載的spring原始碼
進入到指定目錄,轉換時報錯:
C:\workspace\Users\libingsen\spring\spring-framework\spring-tx>gradle cleanidea eclipse
FAILURE: Build failed with an exception.
* What went wrong:
Could not open cp_settings remapped class cache for 5qgxdz1e0puslw9ybclj2z10a (C:\Users \libingshen\.gradle\caches\4.5.1\scripts-remapped\settings_cxfogugc33xy6ydqdwuf9jgao\5qgxdz1e0puslw9ybclj2z10a\cp_settings563fc8ebfcf8c58ce3cd23759d4841f4).
> Could not open cp_settings generic class cache for settings file 'C:\workspace\Users\libingsen\spring\spring-framework\settings.gradle' (C:\Users \libingshen\.gradle\caches\4.5.1\scripts\5qgxdz1e0puslw9ybclj2z10a\cp_settings\cp_settings563fc8ebfcf8c58ce3cd23759d4841f4).
> java.io.FileNotFoundException: C:\Users\libingshen\.gradle\caches\4.5.1\scripts\5qgxdz1e0puslw9ybclj2z10a\cp_settings\cp_settings563fc8ebfcf8c58ce3cd23759d4841f4\cache.properties (系統找不到指定的檔案。)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
方式二:轉換通過eclipse的svn檢出的spring原始碼
進入到指定目錄,轉換時報錯:
C:\workspace\Users\libingsen\spring2\4.3.x\spring-tx>gradle cleanidea eclipse
Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
org/gradle/listener/ActionBroadcast
> org.gradle.listener.ActionBroadcast
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 7s