diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2013-12-17 17:11:56 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2013-12-17 17:11:56 +0000 |
commit | 9c45b11284334a1edee9093b412f59b84d1f36dd (patch) | |
tree | 8db6f47bc4b02c2537c66db02eec329dbc584934 | |
parent | 126e31e71937288afd0ee484f6b56d4936989ea7 (diff) | |
download | xmlgraphics-fop-9c45b11284334a1edee9093b412f59b84d1f36dd.tar.gz xmlgraphics-fop-9c45b11284334a1edee9093b412f59b84d1f36dd.zip |
Have Gump run Checkstyle on the source code
Removed HTML output for easier integration with Gump
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1551634 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build.xml | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1042,10 +1042,8 @@ NOTE: <!-- Checkstyle --> <!-- =================================================================== --> <property name="checkstyle.location" value="${lib-tools}/checkstyle-5.5-all.jar" /> - <property name="checkstyle.noframes.xslt" value="${basedir}/checkstyle-noframes.xsl" /> <property name="checkstyle.config" value="${basedir}/checkstyle-5.5.xml" /> <path id="checkstyle-classpath"> - <path refid="libs-build-classpath"/> <pathelement location="${checkstyle.location}"/> </path> <condition property="checkstyle.avail"> @@ -1053,14 +1051,12 @@ NOTE: <available classname="com.puppycrawl.tools.checkstyle.CheckStyleTask"> <classpath refid="checkstyle-classpath"/> </available> - <available file="${checkstyle.noframes.xslt}"/> <available file="${checkstyle.config}"/> </and> </condition> <target name="checkstyle-avail" unless="checkstyle.avail"> <echo message="Checkstyle support NOT present. Please download it from http://checkstyle.sf.net/ and"/> <echo message="... please provide ${checkstyle.location}"/> - <echo message="... please provide ${checkstyle.noframes.xslt}"/> <echo message="... please provide ${checkstyle.config}"/> </target> <target name="checkstyle" depends="package, checkstyle-avail" if="checkstyle.avail" description="Runs Checkstyle for a code quality report"> @@ -1077,7 +1073,6 @@ NOTE: <fileset dir="${test.dir}" includes="**/*.java"/> <formatter type="xml" toFile="${build.dir}/report_checkstyle.xml"/> </checkstyle> - <xslt in="${build.dir}/report_checkstyle.xml" out="${build.dir}/report_checkstyle.html" style="${checkstyle.noframes.xslt}"/> </target> <!-- =================================================================== --> <!-- PMD --> @@ -1508,7 +1503,7 @@ NOTE: <!-- Special target for Gump --> <!-- =================================================================== --> <target name="gump" depends="package,transcoder-pkg"/> - <target name="gump-test" depends="junit-all"> + <target name="gump-test" depends="junit-all,checkstyle"> <fail> <condition> <or> |