修改readme
parent
0388dc0f73
commit
a01b7872c8
39
README.md
39
README.md
|
@ -1,11 +1,12 @@
|
||||||
|
|
||||||
|
|
||||||
# ecology开发环境
|
# ecology开发环境
|
||||||
|
|
||||||
> 当前项目用于有兴趣一起协同开发的同事一起使用
|
> 当前项目用于有兴趣一起协同开发的同事一起使用
|
||||||
>
|
>
|
||||||
> @author youHong.ai
|
> @author youHong.ai
|
||||||
|
|
||||||
|
**开发文档见[开发文档](开发文档.md)**
|
||||||
|
**其他信息可在[常用信息](常用信息.md)查看**
|
||||||
|
|
||||||
## 项目构建启动
|
## 项目构建启动
|
||||||
|
|
||||||
### 项目拉取配置
|
### 项目拉取配置
|
||||||
|
@ -74,16 +75,12 @@
|
||||||
|
|
||||||
切换到Modules中,点击依赖项,修改sdk版本,看是否将之前的依赖是否存在,不存在点击左上角的加号导入进来
|
切换到Modules中,点击依赖项,修改sdk版本,看是否将之前的依赖是否存在,不存在点击左上角的加号导入进来
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
![image-20221122114849406](static/image-20221122114849406.png)
|
![image-20221122114849406](static/image-20221122114849406.png)
|
||||||
|
|
||||||
<img src="static/image-20221122115008978.png" alt="image-20221122115008978" style="zoom:33%;" />
|
<img src="static/image-20221122115008978.png" alt="image-20221122115008978" style="zoom:33%;" />
|
||||||
|
|
||||||
最后点击应用(apply)后点击确认(ok)等待项目构建索引完毕
|
最后点击应用(apply)后点击确认(ok)等待项目构建索引完毕
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 项目配置
|
### 项目配置
|
||||||
|
|
||||||
将你本地demo的weaver.properties文件复制到src/main/resources/web-inf/prop文件夹中
|
将你本地demo的weaver.properties文件复制到src/main/resources/web-inf/prop文件夹中
|
||||||
|
@ -98,16 +95,16 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
|
||||||
<beans>
|
<beans>
|
||||||
<bean id="propertyPlaceholderConfigurer"
|
<bean id="propertyPlaceholderConfigurer"
|
||||||
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||||
<property name="locations" value="classpath:application.properties" />
|
<property name="locations" value="classpath:application.properties"/>
|
||||||
</bean>
|
</bean>
|
||||||
<bean id="basetest" class="basetest.BaseTestConfig">
|
<bean id="basetest" class="basetest.BaseTestConfig">
|
||||||
<property name="serverName" value="${serverName}"/>
|
<property name="serverName" value="${serverName}"/>
|
||||||
<property name="rootPath" value="${rootPath}"/>
|
<property name="rootPath" value="${rootPath}"/>
|
||||||
<property name="systemFilePath" value="${systemFilePath}"/>
|
<property name="systemFilePath" value="${systemFilePath}"/>
|
||||||
<property name="logPath" value="${logPath}"/>
|
<property name="logPath" value="${logPath}"/>
|
||||||
</bean>
|
</bean>
|
||||||
</beans>
|
</beans>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -120,20 +117,14 @@ systemFilePath=/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/fil
|
||||||
logPath=/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/log # 修改为实际的地址
|
logPath=/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/log # 修改为实际的地址
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 测试
|
### 测试
|
||||||
|
|
||||||
找到BaseTest文件,执行`public void with()`方法,如果正常执行如下即表示成功
|
找到BaseTest文件,执行`public void with()`方法,如果正常执行如下即表示成功
|
||||||
|
|
||||||
![image-20221122124724449](static/image-20221122124724449.png)
|
![image-20221122124724449](static/image-20221122124724449.png)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 使用规范
|
## 使用规范
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
包命名时,需要使用自己的名字作为包名称,如`com.youhong.ai`, `weaver.youhong.ai`
|
包命名时,需要使用自己的名字作为包名称,如`com.youhong.ai`, `weaver.youhong.ai`
|
||||||
|
|
||||||
业务代码写在个人包下面,通用工具类单独抽出来存放在`ebu7common`包下面,即`src/mian/java/ebu7common`
|
业务代码写在个人包下面,通用工具类单独抽出来存放在`ebu7common`包下面,即`src/mian/java/ebu7common`
|
||||||
|
@ -142,8 +133,6 @@ logPath=/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/log # 修
|
||||||
|
|
||||||
![image-20221122125200782](static/image-20221122125200782.png)
|
![image-20221122125200782](static/image-20221122125200782.png)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
==注意点==
|
==注意点==
|
||||||
|
|
||||||
> 注意事项
|
> 注意事项
|
||||||
|
@ -155,8 +144,6 @@ logPath=/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/log # 修
|
||||||
* 遇到代码冲突时,冲突代码需要与他人沟通后处理
|
* 遇到代码冲突时,冲突代码需要与他人沟通后处理
|
||||||
* maven文件中导如依赖需要注意依赖是否会和应用产生冲突
|
* maven文件中导如依赖需要注意依赖是否会和应用产生冲突
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 依赖更换
|
## 依赖更换
|
||||||
|
|
||||||
> 当前使用的依赖是Ecology9.00.2206.03的依赖
|
> 当前使用的依赖是Ecology9.00.2206.03的依赖
|
||||||
|
|
Loading…
Reference in New Issue