显示共享库的所有本机路径

Displaying all native paths for the shared Library

我想使用 jython 脚本访问共享库本机路径

libraries = AdminConfig.list('Library').split('\n')

此 returns 库列表。

在libraries.xml

<libraries:Library xmi:id="Library_1443450998699" name="MY_TOOLKIT" description="AMY_TOOLKIT" isolatedClassLoader="false">
    <classPath>MY_TOOLKIT</classPath>
    <nativePath>/mypath_TOOLKIT/lib/path.jar</nativePath>

我想访问每个库的本机路径..

我怎样才能做到这一点....任何帮助..在此先感谢

迭代从 list/split 返回的值并使用 AdminConfig.showAttribute(lib, "nativePath")。有关其他 AdminConfig 操作,请参阅知识中心的 Commands for the AdminConfig object using wsadmin scripting 主题。