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

作者: Lionel (祝福與成全)   2018-04-21 17:33:16
版上的大家好:
想請教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
希望有相關前輩能解惑,謝謝大家。

Links booklink

Contact Us: admin [ a t ] ucptt.com