0

我安装了Liferay DXP SP4,然后下载并放入liferay-fix-pack-de-30-7010.zipLiferay的patching-tool/patches/文件夹,将Liferay服务器成功打包到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
我的上述程序有什么问题?

4

1 回答 1

1

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

于 2017-10-31T10:39:56.303 回答