Files
hpd840321 7b2bd307f1 Initial commit: reorganized source tree
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.)
- frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts
- scripts/: build, test-env, tools (Docker Compose, service templates, API parity)
- docs/: AGENTS.md, superpowers specs, architecture docs
- .gitignore: standard Java/Maven exclusions

Moved from legacy maven-*/ root layout to backend/ organized structure.
2026-05-09 09:56:45 +08:00

59 lines
1.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# V1 电梯模块反编译输出(CFR)
本目录由脚本生成,**勿手改**;重新生成会带时间戳子目录并更新 `cfr-from-cw-lib-current` 符号链接。
## 生成命令
```bash
cd maven-cw-elevator-application
./scripts/decompile_v1_elevator_jars.sh
```
前提:
- 仓库根存在 `cw-elevator-application-V1.0.0.20211103/cw_lib/cw-elevator-application-{common,data,service,web}-1.0-SNAPSHOT.jar`
- 仓库根存在 `artifacts/decompiled/v1-cfr-compare-20211103/cfr-0.152.jar`(或设置环境变量 `CFR_JAR`
可选环境变量:
| 变量 | 含义 |
|------|------|
| `V1_RUN_DIR` | V1 解压目录绝对路径(默认:仓库根下 `cw-elevator-application-V1.0.0.20211103` |
| `CFR_JAR` | CFR jar 路径 |
| `V1_DECOMP_OUT` | 输出根路径前缀(默认:`tools/v1-decompiled/cfr-from-cw-lib`,实际会追加 `-时间戳` |
| `DECOMPILE_V1_FAT_JAR=1` | 额外反编译 fat jar(耗时长、体积大) |
## 目录结构
```
cfr-from-cw-lib-<timestamp>/
MANIFEST.txt
cw-elevator-application-common-1.0-SNAPSHOT/
cn/cloudwalk/elevator/...
cw-elevator-application-data-1.0-SNAPSHOT/
cn/...
...
```
`cfr-from-cw-lib-current` → 最近一次生成目录。
## 与 V2 源码比对
**简要相似度报告**
```bash
python3 tools/elevator_api_parity/scripts/source_parity_scan.py
```
`tools/elevator_api_parity/report/SOURCE-PARITY-BY-CLASS-decomp.md`
**全量差异梳理(推荐)**:按优先级分组 + 完整配对表 + JSON
```bash
python3 tools/elevator_api_parity/scripts/v1_v2_diff_issues_report.py --json
```
`report/V1-V2-DIFF-ISSUES.md`、同基名 `.json`
环境变量:`V1_DECOMP_ROOT``MV_ROOT`(默认为本 Maven 工程根)。