Groovy 打印更改列表描述时遇到问题
Trouble with Groovy to print Changelist description
我想打印特定流的每个更改列表的更改列表描述,但我作为输出获得的描述仅限于某些字符集
changelistList.each { IChangelistSummary cl ->
println cl.getDescription()
}
这是对 CL 的有限描述,而不是我在 p4V 中看到的完整描述
printed by script is - "settings IL customization"
But the actual description is "settings IL customization Fix_For_TDP XXXXX_Additional Services section expanded on both Provide and Change"
有人可以帮忙吗?这里有什么问题?我没有收到任何编译错误,脚本执行正常,只是我没有打印完整的描述我什至尝试使用 println cl.getDescription().toString() 但它没有帮助
您可能需要使用 getChangelist()
方法来获取包含完整描述的更改列表:https://www.perforce.com/perforce/r17.2/manuals/p4java-javadoc/com/perforce/p4java/server/delegator/IChangeDelegator.html
我想打印特定流的每个更改列表的更改列表描述,但我作为输出获得的描述仅限于某些字符集
changelistList.each { IChangelistSummary cl ->
println cl.getDescription()
}
这是对 CL 的有限描述,而不是我在 p4V 中看到的完整描述
printed by script is - "settings IL customization"
But the actual description is "settings IL customization Fix_For_TDP XXXXX_Additional Services section expanded on both Provide and Change"
有人可以帮忙吗?这里有什么问题?我没有收到任何编译错误,脚本执行正常,只是我没有打印完整的描述我什至尝试使用 println cl.getDescription().toString() 但它没有帮助
您可能需要使用 getChangelist()
方法来获取包含完整描述的更改列表:https://www.perforce.com/perforce/r17.2/manuals/p4java-javadoc/com/perforce/p4java/server/delegator/IChangeDelegator.html