diff options
author | jestin | 2012-03-25 12:23:37 +0000 |
---|---|---|
committer | jestin | 2012-03-25 12:23:37 +0000 |
commit | f1a58c06c86b2e54f908eb7ec931d0e04526605d (patch) | |
tree | 7e319ed06ab673be4914c01f9140cf0eb74e139a | |
parent | 26a6343bdf7a4e3f8e93f27e6982d7b923eafc7c (diff) | |
download | ivy-java-f1a58c06c86b2e54f908eb7ec931d0e04526605d.zip ivy-java-f1a58c06c86b2e54f908eb7ec931d0e04526605d.tar.gz ivy-java-f1a58c06c86b2e54f908eb7ec931d0e04526605d.tar.bz2 ivy-java-f1a58c06c86b2e54f908eb7ec931d0e04526605d.tar.xz |
-rw-r--r-- | build.xml | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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}"> |