You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/05 03:06:58 UTC

[doris] branch master updated: [dev env]: add idea provided doc. (#10597)

This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 302e078e6a [dev env]: add idea provided doc. (#10597)
302e078e6a is described below

commit 302e078e6a359395277d04bc2b3a9d81d3ec1242
Author: Stalary <st...@163.com>
AuthorDate: Tue Jul 5 11:06:53 2022 +0800

    [dev env]: add idea provided doc. (#10597)
---
 docs/.vuepress/public/images/idea_options.png       | Bin 0 -> 259092 bytes
 docs/en/developer/developer-guide/fe-idea-dev.md    |   8 +++++++-
 docs/zh-CN/developer/developer-guide/fe-idea-dev.md |   8 +++++++-
 3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/docs/.vuepress/public/images/idea_options.png b/docs/.vuepress/public/images/idea_options.png
new file mode 100644
index 0000000000..0e78b054b4
Binary files /dev/null and b/docs/.vuepress/public/images/idea_options.png differ
diff --git a/docs/en/developer/developer-guide/fe-idea-dev.md b/docs/en/developer/developer-guide/fe-idea-dev.md
index 9275356e62..8b217e3e36 100644
--- a/docs/en/developer/developer-guide/fe-idea-dev.md
+++ b/docs/en/developer/developer-guide/fe-idea-dev.md
@@ -180,6 +180,12 @@ Follow the picture to set runtime Environment Variables in IDEA
 
 ![](/images/DEBUG5.png)
 
-## 5. Start FE
+## 5. Config options
+
+Because part of the dependency is `provided`, idea needs to do a special config. Click on the right `Modify Options` in the `Run/Debug Configurations` setting. Check the `Add Dependencies with "Provided" scope to classpath` option.
+
+![](/images/idea_options.png)
+
+## 6. Start FE
 
 Having fun with Doris FE!
diff --git a/docs/zh-CN/developer/developer-guide/fe-idea-dev.md b/docs/zh-CN/developer/developer-guide/fe-idea-dev.md
index c837937ea9..0877b069bd 100644
--- a/docs/zh-CN/developer/developer-guide/fe-idea-dev.md
+++ b/docs/zh-CN/developer/developer-guide/fe-idea-dev.md
@@ -174,7 +174,13 @@ mysql_service_nio_enabled = true
 
 ![](/images/DEBUG5.png)
 
-## 5.启动fe
+## 5.配置options
+
+由于部分依赖使用了`provided`,idea需要做下特殊配置,在`Run/Debug Configurations`设置中点击右侧`Modify options`,勾选`Add dependencies with "provided" scope to classpath`选项
+
+![](/images/idea_options.png)
+
+## 6.启动fe
 
 下面你就可以愉快的启动,调试你的FE了
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org