2017-06-14 32 views
0

我如何知道跑动liferay的发布?有任何文件需要检查吗?在跑步上释放Liferay

我试图检查自述文件的圆顶,但没“找不到任何

THX

回答

1

转到控制面板 - >服务器管理,还有的版本会显示:

Liferay control panel

另一种选择是检查(grep)$LIFERAY_HOME/logs/liferay.yyyy-mm-dd.log哪些报告启动过程中的版本号:

08:49:06,691 INFO [fileinstall-C:/liferay70/osgi/marketplace][BundleStartStopLogger:35] STARTED Liferay CE Foundation_7.0.7 [174] 
+0

如果日志提7.0.7从当前运行的安装中获得,它是模块的版本,没有充分释放(截至今天Liferay的CE为7.0.2 ) - 由于模块的语义版本控制,两者无关。尽管在日志中有另一行包含实际版本。请注意,企业版不一定会以这种方式放弃修订包/服务包,因为它们保持版本稳定。 –

0

如果您没有更改生命周期版本的http.header.version.verbosity = full ,它将显示在响应标头中。

下面是关于此属性的信息,来自portal.properties on liferay sources。

# 
# Set the level of verbosity to use for the Liferay-Portal field in the HTTP 
# header response. Valid values are "full", which gives all of the version 
# information (e.g. Liferay Portal Community Edition 6.1.0 CE etc.), 
# "partial", which gives only the name portion (e.g. Liferay Portal 
# Community Edition), or the default release name (e.g. "Liferay Portal 
# Community Edition" or "Liferay Portal Enterprise Edition"), which prevents 
# the Portal from adding the Liferay-Portal field in the HTTP header 
# response. The default release name must match the Portal edition being 
# used. 
# 
http.header.version.verbosity=full 

希望这有助于