在同步 CustomDynamicTransition.class 前创建双机对应的展开目录,避免首次覆盖核心包内类时 rsync 因父目录不存在而失败。 Validation: - bash -n local-run/bin/sync-to-hxcs-prod.sh - ./local-run/bin/compile-hxcs-deploy-classes.sh - git diff --check
@@ -314,6 +314,10 @@ sync_static_files() {
[[ -f "${class_file}" ]] && rsync_to "${host}" "${password}" "${webapp}/WEB-INF/classes/space/apps/moudules/sys/services/" "${class_file}"
done
+ # 撤回修复类原先只存在于核心包中,首次覆盖前需创建展开目录。
+ run_remote "${host}" "${password}" \
+ "mkdir -p '${webapp}/WEB-INF/classes/space/core/apps/bpm/core/listener'"
+
# 全局排序序号相关 Java 类
for class_path in \
"apps/pojo/Article.class" \