![](/img/trans.png)
[英]Why the zip file which is downloaded from a server using apache.net.ftp cannot be extracted
[英]How to convert the ConfigProperties_server1.props which is extracted from websphere using wsadmin to xml or json file?
这是我用来提取ConfigProperties_server1.props文件的Jython脚本:
AdminTask.extractConfigProperties('[-propertiesFileName ConfigProperties_server1.props -configData Server=server1]')
欢迎来到SO。 AdminTask.extractConfigProperties
命令没有用于控制文件格式的选项。 选项PortablePropertiesFile
听起来很有前途,但是它控制了props文件中是否包含内部XMI ID。 您将不得不解析属性文件并自己进行转换,该文件的语法已在此IBM KnowledgeCenter主题中进行了介绍 。 考虑到此任务的复杂性,您可能需要编辑问题并添加一些有关通过转换为xml或json格式文件要完成的工作的详细信息,因此社区可能会更好地为您提供帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.