2012-02-01 2 views

답변

19

당신은 Domino 서버에 액세스 할 수있는 경우는 활성 상태로 표시된 모든 ExtLib의 배포 버전 만 사람을 보여줍니다 명령의 출력은 서버에 의해 사용됩니다

tell http osgi ss com.ibm.xsp.extlib 

명령을 실행할 수 있습니다 . 여러 버전이 배포되는 경우 항상 최신 버전이됩니다.

Domino 서버에 액세스 할 수없는 경우 ExtLib의 내부 유틸리티를 사용하여 버전 번호를 반환 할 수 있습니다.

var v = com.ibm.xsp.extlib.util.ExtLibUtil.getExtLibVersion(); 
return "XPages ExtLib version: "+v 
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 
이 샘플 코드의 버전 번호를 표시하는 연산 제어 필드에 추가 될 수있다