Liferay DXP 修补工具说 "Won't be installed: Patch source code is not available"

Liferay DXP patching tool says "Won't be installed: Patch source code is not available"

我安装了 Liferay DXP SP4,然后下载 liferay-fix-pack-de-30-7010.zip 放入 Liferay 的 patching-tool/patches/ 文件夹,成功将 Liferay 服务器 pacted 到 30 级,然后编辑 patching-tool/default.properties 这样:

patching.mode=source
source.path=/home/nico/liferay-dxp-digital-enterprise-src-7.0-sp4

war.path=../tomcat-8.0.32/webapps/ROOT/
global.lib.path=../tomcat-8.0.32/lib/ext/
liferay.home=../

当我 运行 ./patching-tool.sh info 我得到:

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
Loading product and patch information...
Product information:
  * installation type: source
  * build number: 7010
[Fatal Error] :120:26857: XML document structures must start and end within the same entity.
  * service pack version:
    - available SP version: Not available
    - installable SP version: Not available
  * patching-tool version: 2.0.6
  * time: 2017-10-31 06:59Z
  * plugins: no plugins detected

Currently installed patches: de-22-7010

Available patches: de-30-7010

Detailed patch list: 
  [ s] de-30-7010 :: Currently not installed; Won't be installed: Patch source code is not available :: Built for LIFERAY

为什么说Won't be installed: Patch source code is not available
我的上述程序有什么问题?

由于可以从客户门户网站下载两个不同的修复包,我最好的猜测是您下载了 "Fixpack 30" 而不是 "Fixpack 30 Source Code"。这将巧妙地解释消息 Patch source code is not available。只需将源代码修复包添加到补丁目录即可。