簡體   English   中英

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 : getChangelist() /IChangeDelegator.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM