This is an automated email from the ASF dual-hosted git repository.
hyunkun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 038f47c add more detailed explanation in Building jar package of
source code (#569)
038f47c is described below
commit 038f47ce7a6f8cfd5384bd2409f4b742394bacd1
Author: xiantang <[email protected]>
AuthorDate: Sat Mar 21 22:34:31 2020 +0800
add more detailed explanation in Building jar package of source code (#569)
---
docs/en-us/dev/build.md | 4 +++-
docs/zh-cn/dev/build.md | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/docs/en-us/dev/build.md b/docs/en-us/dev/build.md
index 8b0f139..2e254f4 100644
--- a/docs/en-us/dev/build.md
+++ b/docs/en-us/dev/build.md
@@ -41,11 +41,13 @@ mvn install -Dmaven.test.skip
## Building jar package of source code
-build Dubbo source code jar package with below command, which can debug Dubbo
source code.
+build Dubbo source code jar package with below command.
```sh
mvn clean source:jar install -Dmaven.test.skip
```
+and modify the dubbo dependency in your sample project to the SANPSHOT version
of the local repository, and then use remote debugger to debug dubbo.
+
## IDE support
diff --git a/docs/zh-cn/dev/build.md b/docs/zh-cn/dev/build.md
index 2ab327b..3804054 100644
--- a/docs/zh-cn/dev/build.md
+++ b/docs/zh-cn/dev/build.md
@@ -41,11 +41,12 @@ mvn install -Dmaven.test.skip
## 构建源代码 jar 包
-通过以下命令以构建 Dubbo 的源代码 jar 包,方便用来调试 Dubbo 源代码
+通过以下命令以构建 Dubbo 的源代码 jar 包
```sh
mvn clean source:jar install -Dmaven.test.skip
```
+并且修改你的样例项目中的dubbo依赖为本地仓库的SANPSHOT版本,然后使用远程debug来调试dubbo。
## IDE 支持