[jboss-cvs] JBossAS SVN: r85792 - projects/jboss-jca/trunk.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Mar 12 17:11:27 EDT 2009
Author: jesper.pedersen
Date: 2009-03-12 17:11:27 -0400 (Thu, 12 Mar 2009)
New Revision: 85792
Modified:
projects/jboss-jca/trunk/build.xml
Log:
[JBJCA-45] Integrate checkstyle
Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml 2009-03-12 21:06:32 UTC (rev 85791)
+++ projects/jboss-jca/trunk/build.xml 2009-03-12 21:11:27 UTC (rev 85792)
@@ -165,11 +165,16 @@
<taskdef name="checkstyle"
classname="com.puppycrawl.tools.checkstyle.CheckStyleTask"
classpathref="qe.lib.path.id"/>
+
+ <mkdir dir="${reports.dir}/checkstyle" />
+
<checkstyle config="${tools.dir}/checkstyle/checkstyle.xml"
failOnViolation="true"
classpathref="qe.lib.path.id">
<fileset dir="${basedir}"
includes="**/*.java"/>
+ <formatter type="plain"/>
+ <formatter type="xml" toFile="${reports.dir}/checkstyle/checkstyle-result.xml"/>
</checkstyle>
</target>
More information about the jboss-cvs-commits
mailing list