aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 9c37e07..e0d1dad 100644
--- a/build.xml
+++ b/build.xml
@@ -43,6 +43,18 @@
<javac includeantruntime="true" srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/>
</target>
+ <target name="style">
+ <java fork="true" classname="com.puppycrawl.tools.checkstyle.Main">
+ <arg value="-c"/>
+ <arg value="sun_checks.xml"/>
+ <arg value="src/Ivy.java"/>
+ <classpath>
+ <path refid="classpath"/> <!-- si ça n'est pas déjà dans le classpath -->
+ <path location="../checkstyle-5.5/checkstyle-5.5.jar"/>
+ </classpath>
+ </java>
+ </target>
+
<target name="jar" depends="compile">
<jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}">