[英]Using checkstyle with Ant during an automated eclipse build
Checkstyle JAR 文件中定義了Checkstyle Ant 任務。 按如下方式使用它:
<taskdef resource="checkstyletask.properties" classpath="/path/to/checkstyle-all-4.4.jar"/>
<checkstyle config="/path/to/my/checkstyle_config.xml">
<fileset dir="src/checkstyle" includes="**/*.java"/>
</checkstyle>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.