2
0

fix: update compile manual

This commit is contained in:
zhangsz
2025-06-25 10:58:41 +08:00
parent a5e4f2c8f5
commit bc31043497
3 changed files with 93 additions and 1 deletions

View File

@@ -229,6 +229,7 @@ create-src-tar(){
--exclude=${BuildRelativeDir}/debbuild/etc \ --exclude=${BuildRelativeDir}/debbuild/etc \
--exclude=${BuildRelativeDir}/debbuild/opt \ --exclude=${BuildRelativeDir}/debbuild/opt \
--exclude=${BuildRelativeDir}/bin/cpto205.sh \ --exclude=${BuildRelativeDir}/bin/cpto205.sh \
--exclude=${BuildRelativeDir}/docs/98-acceptance \
--exclude=${BuildRelativeDir}/docs/99-reference \ --exclude=${BuildRelativeDir}/docs/99-reference \
--exclude=${BuildRelativeDir}/docs/100-images \ --exclude=${BuildRelativeDir}/docs/100-images \
--exclude=${LicenseSrcDir}/.git \ --exclude=${LicenseSrcDir}/.git \

View File

@@ -295,7 +295,7 @@ build.wfc/
```text ```text
JDK >= 1.8 (推荐1.8版本) JDK >= 1.8 (推荐1.8版本)
Maven >= 3.0 Maven >= 3.6.3
Mysql >= 5.7.0 (推荐5.7版本) # docker内部构建 Mysql >= 5.7.0 (推荐5.7版本) # docker内部构建
Redis >= 7.4.2 # docker内部构建 Redis >= 7.4.2 # docker内部构建
nacos >= v2.5.0 # docker内部构建 nacos >= v2.5.0 # docker内部构建
@@ -319,3 +319,94 @@ cd wfc.git/build.wfc/bin
cd wfc.git/build.wfc/bin cd wfc.git/build.wfc/bin
./build.sh -g deb ./build.sh -g deb
``` ```
## License模块编译说明
**工程目录树**
```sh
license.wfc/
├── README.md
├── docker-compose.yml
├── dockerfile
├── pom.xml # 项目对象模型文件, maven
└── src # license源码目录
└── main
├── java
│   └── org
│   └── wfc
└── resources
├── application.properties
├── banner.txt
└── privateKeys.keystore
```
**编译环境**
```text
JDK >= 1.8 (推荐1.8版本)
Maven >= 3.6.3
```
**编译JAR**
```sh
cd license.wfc
mvn clean package -DskipTests
```
## License安装包构建说明
**工程目录树**
```sh
license.build.wfc/
├── bin
│   ├── build.sh
│   └── control.sh
├── debbuild
│   ├── DEBIAN
│   │   └── control
│   └── opt
│   └── lic
│   ├── bin
│   │   ├── generatelic.sh
│   │   └── licensecontrol.sh
│   ├── docker
│   │   ├── docker-compose.yml
│   │   ├── dockerfile
│   │   └── jar
│   └── docs
│   ├── License Software Operation Manual.pdf
│   └── License软件操作手册.pdf
├── docs
│   ├── License Software Operation Manual.md
│   ├── License Software Operation Manual.pdf
│   ├── License软件操作手册.md
│   └── License软件操作手册.pdf
└── release
├── debs
│   ├── readme.txt
│   └── wfc-lic-1.0.0-20250624-ub22.deb
└── src-tars
├── readme.txt
└── wfc-lic-1.0.0-20250624.src.tar.gz
```
**环境准备**
```text
JDK >= 1.8 (推荐1.8版本)
Maven >= 3.6.3
```
**构建安装包**
> 如果不同步拉取git仓库带-g
- DEB安装包
```sh
cd wfc.git/license.build.wfc/bin
./build.sh -g deb
```