You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
788 B
39 lines
788 B
6 years ago
|
# 后端开发文档
|
||
|
|
||
|
因EasyScheduler中escheduler-rpc模块使用到Grpc,需要用到Maven编译生成所需要的类
|
||
|
|
||
|
## 项目编译
|
||
|
将EasyScheduler源码下载导入Idea等开发工具后,首先转为Maven项目(右键点击后选择"Add Framework Support")
|
||
|
|
||
|
* 执行编译命令:
|
||
|
|
||
|
```
|
||
|
mvn -U clean package assembly:assembly -Dmaven.test.skip=true
|
||
|
```
|
||
|
|
||
|
* 查看目录
|
||
|
|
||
|
正常编译完后,会在当前目录生成 target/escheduler-{version}/
|
||
|
|
||
|
```
|
||
|
bin
|
||
|
conf
|
||
|
lib
|
||
|
script
|
||
|
sql
|
||
|
install.sh
|
||
|
```
|
||
|
|
||
|
- 说明
|
||
|
|
||
|
```
|
||
|
bin : 基础服务启动脚本
|
||
|
conf : 项目配置文件
|
||
|
lib : 项目依赖jar包,包括各个模块jar和第三方jar
|
||
|
script : 集群启动、停止和服务监控启停脚本
|
||
|
sql : 项目依赖sql文件
|
||
|
install.sh : 一键部署脚本
|
||
|
```
|
||
|
|
||
|
|