mirror of https://github.com/apache/ant-ivy
use checkstyle on source java files
git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/core/trunk@566670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3124703c8
commit
8af72832d8
|
|
@ -5,6 +5,7 @@
|
|||
<additional-data name="protect-config-file" value="true"/>
|
||||
</local-check-config>
|
||||
<fileset name="Ivy Checkstyle config" enabled="true" check-config-name="Ivy Checkstyle Config" local="true">
|
||||
<file-match-pattern match-pattern=".java$" include-pattern="true"/>
|
||||
<file-match-pattern match-pattern="^src.java.*.java$" include-pattern="true"/>
|
||||
<file-match-pattern match-pattern="^src.example.*.java$" include-pattern="true"/>
|
||||
</fileset>
|
||||
</fileset-config>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
lib.dir=${basedir}/lib
|
||||
src.dir=${basedir}/src/java
|
||||
test.dir=${basedir}/test/java
|
||||
example.dir=${basedir}/src/example
|
||||
build.dir=${basedir}/build
|
||||
classes.build.dir=${basedir}/build/classes
|
||||
core.classes.build.dir=${classes.build.dir}/core
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
<target name="clean-examples" description="clean all examples">
|
||||
<subant target="clean" failonerror="false">
|
||||
<fileset dir="src/example" includes="**/build.xml" />
|
||||
<fileset dir="${example.dir}" includes="**/build.xml" />
|
||||
</subant>
|
||||
</target>
|
||||
|
||||
|
|
@ -478,6 +478,9 @@ ${final.core.name} The Ivy core, eg everything but classes dependent on Ant.$
|
|||
<fileset dir="${src.dir}">
|
||||
<include name="**/*.java" />
|
||||
</fileset>
|
||||
<fileset dir="${example.dir}">
|
||||
<include name="**/*.java" />
|
||||
</fileset>
|
||||
</checkstyle>
|
||||
</target>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue