這項作業會將 apitooling.apideprecation Ant 作業所建立的 XML 報告轉換成 HTML 檔案。
Ant 作業的名稱為:apitooling.apideprecation_reportconversion。如果要能夠使用,JAR 檔 apitooling-ant.jar 必須在 Ant 類別路徑上。
<apitooling.apideprecation_reportconversion
xmlfile="..."
htmlfile="..."
debug="..."
/>
| 屬性 | 說明 | 必要 |
| xmlfile |
這個屬性指定要轉換的 xml 檔案的位置。
這個位置是使用絕對路徑指定的。 |
是 |
| htmlfile |
這個屬性指定要產生的 html 檔案的位置。
如果省略的話,html 檔名稱就是給定的 xml 檔名稱,但副檔名取代為 html。 這個位置是使用絕對路徑指定的。 |
否 |
| 除錯 |
設定除錯值。
可能的值為: true、false預設值是 false。 |
否 |
<apitooling.apideprecation_reportconversion
xmlfile="/eclipse/deprecation/deprecation.xml"
debug="true"
/>
這會執行在 /eclipse/deprecation 資料夾內建立 deprecation.html 檔的作業。
如果已啟用除錯,部分除錯追蹤將顯示在 Ant 主控台上。
分析 Ant 作業
檔案產生 Ant 作業
API 用法 Ant 作業
API 凍結 Ant 作業
API 淘汰 Ant 作業
分析報告轉換 Ant 作業