在自动日食构建期间使用checkstyle和Ant
-
08-07-2019 - |
解决方案
在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>
不隶属于 StackOverflow