Skip to content

Commit

Permalink
整理 [循环依赖] 完成
Browse files Browse the repository at this point in the history
  • Loading branch information
Vip-Augus committed Jun 21, 2019
1 parent 8837cdf commit 1ba6f0b
Show file tree
Hide file tree
Showing 9 changed files with 372 additions and 24 deletions.
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ git clone https://github.com/Vip-Augus/spring-analysis-note

![](spring-analysis-note/note/pics/spring_analysis_note.png)

## 跟踪代码 Debug

![](spring-analysis-note/note/pics/spring5/circle_reference_debug.gif)

## 传送门:

- [Spring 源码学习-环境准备](./spring-analysis-note/note/2019-06-08-spring-analysis-note-env-prepared.md)
Expand All @@ -37,6 +41,8 @@ git clone https://github.com/Vip-Augus/spring-analysis-note

- [Spring 源码学习(四) bean 的加载](./spring-analysis-note/note/2019-06-19-spring-analysis-note-4.md)

- [Spring 源码学习(五)循环依赖](./spring-analysis-note/note/2019-06-21-spring-analysis-note-5.md)


## 关于我

Expand Down
8 changes: 5 additions & 3 deletions gradle/docs.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -163,25 +163,27 @@ task docsZip(type: Zip, dependsOn: ['api', 'asciidoctor', 'dokka']) {
}
}

// https://stackoverflow.com/questions/34916981/build-spring-framework-source-code-encounter-an-error
// javaDoc 报错,跟 window 风格的路径配置有关。。。如果这个也有问题 ,请切回之前的版本
task schemaZip(type: Zip) {
group = "Distribution"
baseName = "spring-framework"
classifier = "schema"
description = "Builds -${classifier} archive containing all " +
"XSDs for deployment at https://springframework.org/schema."
"XSDs for deployment at http://springframework.org/schema."
duplicatesStrategy 'exclude'
moduleProjects.each { subproject ->
def Properties schemas = new Properties();

subproject.sourceSets.main.resources.find {
it.path.endsWith("META-INF/spring.schemas")
it.path.endsWith("META-INF\\spring.schemas")
}?.withInputStream { schemas.load(it) }

for (def key : schemas.keySet()) {
def shortName = key.replaceAll(/http.*schema.(.*).spring-.*/, '$1')
assert shortName != key
File xsdFile = subproject.sourceSets.main.resources.find {
it.path.endsWith(schemas.get(key))
it.path.endsWith(schemas.get(key).replaceAll('\\/','\\\\'))
}
assert xsdFile != null
into (shortName) {
Expand Down
361 changes: 361 additions & 0 deletions spring-analysis-note/note/2019-06-21-spring-analysis-note-5.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1ba6f0b

Please sign in to comment.