1. 程式人生 > >Spring Security(九):2.4.4 Checking out the Source(檢查來源)

Spring Security(九):2.4.4 Checking out the Source(檢查來源)

Since Spring Security is an Open Source project, we’d strongly encourage you to check out the source code using git. This will give you full access to all the sample applications and you can build the most up to date version of the project easily. Having the source for a project is also a huge help in debugging. 

由於Spring Security是一個開源專案,我們強烈建議您使用git檢視原始碼。這將使您可以完全訪問所有示例應用程式,並且可以輕鬆地構建專案的最新版本。擁有專案的原始碼也是除錯的巨大幫助。  

Exception stack traces are no longer obscure black-box issues but you can get straight to the line that’s causing the problem and work out what’s happening. The source is the ultimate documentation for a project and often the simplest place to find out how something actually works.

 

異常堆疊跟蹤不再是模糊的黑盒問題,但您可以直接找到引起問題的線路並找出正在發生的事情。原始碼是專案的最終文件,通常是查詢實際工作方式的最簡單的地方。   To obtain the source for the project, use the following git command: 要獲取專案的源,請使用以下git命令:
git clone https://github.com/spring-projects/spring-security.git

This will give you access to the entire project history (including all releases and branches) on your local machine.

這將使您可以訪問本地計算機上的整個專案歷史記錄(包括所有版本和分支)。