running in ant question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

running in ant question

HongWang
This post has NOT been accepted by the mailing list yet.
Hi,
my ant script is
<project name="JavaTool" basedir="." xmlns:cs="antlib:com.puppycrawl.tools.checkstyle">
        <taskdef resource="checkstyletask.properties" classpath="${basedir}/lib/checkstyle-5.5-all.jar" />
        <target name="checkstyleALl">
                <checkstyle failOnViolation="alse" config="${basedir}/docs/sun_chec.xml">
                        <fileset dir="${basedir}/inputs" includes="**/*.java" />
                        <formatter type="plain"/>
                        <formatter type="xml" tofile="output/checkstyle_errors.xml"/>
                </checkstyle>
        </target>
</project>

but I don't know why the result never show up.
Is the problem in the formatter target?

thanks