如何识别XPages扩展库的版本?

时间:2012-02-01 15:30:22

标签: xpages xpages-extlib

如何找出Domino服务器上运行的XPages Extension Library的版本?

“tell http osgi ss”列出了很多不同的版本。

2 个答案:

答案 0 :(得分:19)

如果您有权访问Domino服务器,则可以发出命令

tell http osgi ss com.ibm.xsp.extlib

该命令的输出将显示ExtLib的所有已部署版本,但只有标记为活动的版本才会被服务器使用。如果部署了多个版本,这将始终是最新版本。

如果您无权访问Domino服务器,则可以使用ExtLib的内部实用程序返回版本号。可以将此示例代码添加到计算字段控件中以显示版本号:

var v = com.ibm.xsp.extlib.util.ExtLibUtil.getExtLibVersion();
return "XPages ExtLib version: "+v

答案 1 :(得分:0)

一个例子:

tell http osgi ss com.ibm.xsp.extlib

2012-02-01 16:28:16   Framework is launched.
2012-02-01 16:28:16   id State       Bundle
2012-02-01 16:28:16   10 ACTIVE      com.ibm.xsp.extlib.domino_8.5.3.20120126-0415
2012-02-01 16:28:16   11 INSTALLED   com.ibm.xsp.extlib.designer.tooling_8.5.3.20120126-0415
2012-02-01 16:28:16   12 ACTIVE      com.ibm.xsp.extlibx.sbt_8.5.3.20120126-0415
2012-02-01 16:28:16   13 ACTIVE      com.ibm.xsp.extlib.oneui_8.5.3.20120126-0415
2012-02-01 16:28:16   14 ACTIVE      com.ibm.xsp.extlibx.relational_8.5.3.20120126-0415
2012-02-01 16:28:16   15 ACTIVE      com.ibm.xsp.extlib.controls_8.5.3.20120126-0415
2012-02-01 16:28:16   17 RESOLVED    com.ibm.xsp.extlib.feature.source_8.5.3.20120126-0415
2012-02-01 16:28:16   18 ACTIVE      com.ibm.xsp.extlibx_8.5.3.20120126-0415
2012-02-01 16:28:16   19 ACTIVE      com.ibm.xsp.extlib.core_8.5.3.20120126-0415
2012-02-01 16:28:16   20 ACTIVE      com.ibm.xsp.extlib.mobile_8.5.3.20120126-0415
2012-02-01 16:28:16   21 INSTALLED   com.ibm.xsp.extlib.designer.xspprops_8.5.3.20120126-0415
2012-02-01 16:28:16   23 RESOLVED    com.ibm.xsp.extlib.designer.tooling.feature.source_8.5.3.20120126-0415
2012-02-01 16:28:16   25 RESOLVED    com.ibm.xsp.extlibx.source_8.5.3.20120126-0415
2012-02-01 16:28:16   26 RESOLVED    com.ibm.xsp.extlibx.oauth_8.5.3.20120126-0415
2012-02-01 16:28:16                Master=33
2012-02-01 16:28:16   28 RESOLVED    com.ibm.xsp.extlibx.relational.derby_8.5.3.20120126-0415
2012-02-01 16:28:16   29 <<LAZY>>    com.ibm.xsp.extlibx.core_8.5.3.20120126-0415
2012-02-01 16:28:16   32 INSTALLED   com.ibm.xsp.extlib.designer_8.5.3.20120126-0415
2012-02-01 16:28:16   33 ACTIVE      com.ibm.xsp.extlib_8.5.3.20120126-0415
2012-02-01 16:28:16                Fragments=26, 163, 171, 173, 174
2012-02-01 16:28:16   162 INSTALLED   com.ibm.xsp.extlib.connections_8.5.2.201102151459NTF
2012-02-01 16:28:16   163 RESOLVED    com.ibm.xsp.extlib.connections_8.5.2.201108271859NTF
2012-02-01 16:28:16                Master=33
2012-02-01 16:28:16   164 INSTALLED   com.ibm.xsp.extlib.domino_8.5.2.201102151459NTF
2012-02-01 16:28:16   165 INSTALLED   com.ibm.xsp.extlib.domino_8.5.2.201108271859NTF
2012-02-01 16:28:16   166 INSTALLED   com.ibm.xsp.extlib.mobile_8.5.2.201102151459NTF
2012-02-01 16:28:16   167 INSTALLED   com.ibm.xsp.extlib.mobile_8.5.2.201108271859NTF
2012-02-01 16:28:16   168 INSTALLED   com.ibm.xsp.extlib.oneui_8.5.2.201102151459NTF
2012-02-01 16:28:16   169 INSTALLED   com.ibm.xsp.extlib.oneui_8.5.2.201108271859NTF
2012-02-01 16:28:16   170 RESOLVED    com.ibm.xsp.extlib.relational.derby_8.5.3.201108271859NTF
2012-02-01 16:28:16   171 RESOLVED    com.ibm.xsp.extlib.relational_8.5.2.201108271859NTF
2012-02-01 16:28:16                Master=33
2012-02-01 16:28:16   172 INSTALLED   com.ibm.xsp.extlib.sametime_8.5.2.201102151459NTF
2012-02-01 16:28:16   173 RESOLVED    com.ibm.xsp.extlib.sametime_8.5.2.201108271859NTF
2012-02-01 16:28:16                Master=33
2012-02-01 16:28:16   174 RESOLVED    com.ibm.xsp.extlib.V853_8.5.2.201108271859NTF
2012-02-01 16:28:16                Master=33
2012-02-01 16:28:16   175 INSTALLED   com.ibm.xsp.extlib_8.5.2.201102151459NTF
2012-02-01 16:28:16   176 INSTALLED   com.ibm.xsp.extlib_8.5.2.201108271859NTF