diff --git a/bin/build.sh b/bin/build.sh index fb1e39d..a3c02a0 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -229,6 +229,7 @@ create-src-tar(){ --exclude=${BuildRelativeDir}/debbuild/etc \ --exclude=${BuildRelativeDir}/debbuild/opt \ --exclude=${BuildRelativeDir}/bin/cpto205.sh \ + --exclude=${BuildRelativeDir}/docs/98-acceptance \ --exclude=${BuildRelativeDir}/docs/99-reference \ --exclude=${BuildRelativeDir}/docs/100-images \ --exclude=${LicenseSrcDir}/.git \ diff --git a/docs/03-configuration/03-MacroHub软件编译手册.md b/docs/03-configuration/03-MacroHub软件编译手册.md index 47ecc30..f527e3c 100644 --- a/docs/03-configuration/03-MacroHub软件编译手册.md +++ b/docs/03-configuration/03-MacroHub软件编译手册.md @@ -295,7 +295,7 @@ build.wfc/ ```text JDK >= 1.8 (推荐1.8版本) -Maven >= 3.0 +Maven >= 3.6.3 Mysql >= 5.7.0 (推荐5.7版本) # docker内部构建 Redis >= 7.4.2 # docker内部构建 nacos >= v2.5.0 # docker内部构建 @@ -319,3 +319,94 @@ cd wfc.git/build.wfc/bin cd wfc.git/build.wfc/bin ./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 +``` \ No newline at end of file diff --git a/docs/03-configuration/03-MacroHub软件编译手册.pdf b/docs/03-configuration/03-MacroHub软件编译手册.pdf index 1080fea..8747e95 100644 Binary files a/docs/03-configuration/03-MacroHub软件编译手册.pdf and b/docs/03-configuration/03-MacroHub软件编译手册.pdf differ