diff options
Diffstat (limited to 'build.xml')
-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}"> |