Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8ca65a3

Browse filesBrowse files
committed
[A] 添加源码搭建步骤以及源码功能注释“
1 parent 7cb7f90 commit 8ca65a3
Copy full SHA for 8ca65a3

File tree

Expand file treeCollapse file tree

1 file changed

+39
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+39
-1
lines changed
Open diff view settings
Collapse file

‎note/Dubbo/Dubbo源码搭建.md‎

Copy file name to clipboardExpand all lines: note/Dubbo/Dubbo源码搭建.md
+39-1Lines changed: 39 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,44 @@
99
步骤:
1010

1111
1. 先从dubbo源码官网github中fork一份到自己的github仓库中。
12+
13+
```
14+
git clone git@github.com:xxxxxxxx/dubbo.git
15+
```
16+
1217
2. 使用命令:git branch v2.7.7。 切换到分支2.7.7。
1318
14-
未完待续...
19+
```
20+
git checkout -b dubbo-2.7.7 dubbo-2.7.7
21+
```
22+
23+
3. 导入方式(IDEA导入方式)
24+
25+
可以通过IDEA ——> File ——> Open ——> pom.xml ——> open as project
26+
27+
然后让IDEA下载相关的依赖,等下载完成即可。
28+
29+
4. mvn命令导入
30+
31+
```
32+
mvn clean install -Dmaven.test.skip=true
33+
```
34+
35+
然后执行下面的命令转换成 IDEA 项目:
36+
37+
```
38+
mvn idea:idea
39+
```
40+
41+
如果执行报错了,则执行:
42+
```
43+
mvn idea:workspace
44+
```
45+
46+
### 2. 分支切换
47+
48+
本人Fork了官方Dubbo源码到本地仓库,并且新建了一个分支名为:SourceCode-of-Translation
49+
50+
该分支主要用于进行源码注释,每个核心功能代码都有详细注释,欢迎大家Fork到本地,然后进行注释查看。
51+
52+
> 地址为:[SourceCode-of-Translation](https://github.com/coderbruis/dubbo) 下载到本地后,只需要切换到SourceCode-of-Translation分支即可。

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.