yx91490 commented on a change in pull request #7309:
URL: https://github.com/apache/incubator-doris/pull/7309#discussion_r765679590
##########
File path: docs/zh-CN/developer-guide/fe-idea-dev.md
##########
@@ -37,24 +37,37 @@ JDK1.8+, IntelliJ IDEA
3. 如果仅进行fe开发而没有编译过thirdparty,则需要安装thrift,并将thrift 复制或者连接到
`thirdparty/installed/bin` 目录下
安装 `thrift` 0.13.0 版本(注意:`Doris` 0.15 和最新的版本基于 `thrift` 0.13.0 构建,
之前的版本依然使用`thrift` 0.9.3 构建)
+
+ Windows:
+ 1.
下载:`http://archive.apache.org/dist/thrift/0.13.0/thrift-0.13.0.exe`
+ 2. 拷贝:将文件拷贝至 `./thirdparty/installed/bin`
+
+ MacOS:
+ 1. 下载:`brew install [email protected]`
+ 2. 建立软链接:
+ `mkdir -p ./thirdparty/installed/bin`
+ `ln -s /opt/homebrew/Cellar/[email protected]/0.13.0/bin/thrift
./thirdparty/installed/bin/thrift`
- MacOS: `brew install [email protected]`
- Windows:
`http://archive.apache.org/dist/thrift/0.13.0/thrift-0.13.0.exe`
+ 注:MacOS执行 `brew install [email protected]` 可能会报找不到版本的错误,解决方法如下,在终端执行:
+ 1. `brew tap-new $USER/local-tap`
+ 2. `brew extract --version='0.13.0' thrift $USER/local-tap`
+ 3. `brew install [email protected]`
+ 参考链接:
`https://gist.github.com/tonydeng/02e571f273d6cce4230dc8d5f394493c`
4. 如果是Mac 或者 Linux 环境 可以通过 如下命令生成自动生成代码:
```
cd fe
- mvn generate-sources
+ mvn generate-sources
```
- 如果出现错误,请先执行:
+ 如果出现错误,则执行:
```
- cd fe && mvn install -DskipTests
+ cd fe && mvn clean install -DskipTests
```
-或者通过图形界面运行运行maven 命令生成
+或者通过图形界面运行运行 maven 命令生成
Review comment:
"运行运行"重复了
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]