[問題] 靜態程式碼checkstyle,ant腳本撰寫

看板java作者 (祝福與成全)時間6年前 (2018/04/21 17:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
版上的大家好: 想請教jenkins的checkstyle的ant腳本撰寫問題。 ant腳本程式碼: https://gist.github.com/LionelDer/8799e445671a8c2ff2bd19b791abb2bc Console Output: https://gist.github.com/LionelDer/5d1ef97b02ab02436a0289e32ab3cf57 jar配置路徑: https://imgur.com/oM9j9qk
目的: 將編寫checkstyle的ant腳本,進行靜態程式碼掃描,並產出掃描報告 錯誤訊息是: Could not load definitions from resource checkstyletask.properties. It could not be found. 於本地配置時,已經有放置checkstyle.jar 希望有相關前輩能解惑,謝謝大家。 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.127.233.24 ※ 文章網址: https://www.ptt.cc/bbs/java/M.1524303200.A.15A.html
文章代碼(AID): #1QsmLW5Q (java)