Scaffolding is often used in spring boot development [Open source framework] It is a headache and time-consuming to modify the project name module! Give this tool a try, it’s super easy to use! ! !
Article directory
- Scaffolding is often used in spring boot development [Open source framework] It is a headache and time-consuming to modify the project name module! Give this tool a try, it’s super easy to use! ! !
- 1. Conventional project modification method:
- 2. Download RuoYi [RuoYi-Vue-Plus] from the official website (https://gitee.com/dromara/RuoYi-Vue-Plus)
- 3. Quick build tool [Fast Build] (http://fastbuild.run/) site
- Summarize
1. Conventional project modification method:
For example: when we use the open source framework RuoYi-Vue and RuoYi plus RuoYi-Vue-Plus to quickly build personal or enterprise business systems, we need to modify the names of some modules, so we must pay attention when modifying project modules Folders, module names, and corresponding configuration files match.
2. Download RuoYi-Vue-Plus from the official website
Use idea to open the Ruoyi project that has been downloaded from git. This time I am using IntelliJ IDEA 2021.1.3 x64 version.
Rendering diagram (ruoyi-plus, the former and back-end separated version of education network as an example)
![]() |
![]() |
---|
1. Modification of project modules
![]() |
![]() |
---|
Continuing with the above operations, Rename module and directory renames the module and folder names.
| |
|
Before and after modification
![]() |
![]() |
---|---|
![]() |
![]() |
2. Modification of the project pom file
Modify the content of each module and the pom file of the main project
Edit the pom file Press and hold Ctrl+R
to replace the content Click replace
to replace the scan package name
Modification of mapper.xml file path
![]() |
![]() |
---|
4. Modification of yml configuration
Application.yml configuration modification, pay attention to the corresponding package name and configuration after seeing clearly, make changes
and start successfully
3. Quick build tool Fast Build site
Here I would like to share a very useful framework to quickly generate websites for everyone. FastBuild (http://fastbuild.run/)
includes Ruoyi framework, Snowy authority management, PIG authority management, EL-ADMIN background management, taro Tao management open source framework.
Summarize
如果本章对您有帮助,请多多点赞收藏支持!
A galloping horse can't take ten steps in one leap;