aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjestin2012-03-25 12:23:37 +0000
committerjestin2012-03-25 12:23:37 +0000
commitf1a58c06c86b2e54f908eb7ec931d0e04526605d (patch)
tree7e319ed06ab673be4914c01f9140cf0eb74e139a
parent26a6343bdf7a4e3f8e93f27e6982d7b923eafc7c (diff)
downloadivy-java-f1a58c06c86b2e54f908eb7ec931d0e04526605d.zip
ivy-java-f1a58c06c86b2e54f908eb7ec931d0e04526605d.tar.gz
ivy-java-f1a58c06c86b2e54f908eb7ec931d0e04526605d.tar.bz2
ivy-java-f1a58c06c86b2e54f908eb7ec931d0e04526605d.tar.xz
-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}">