Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove old checkstyle targets.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/commons/trunk@1400755 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit bc828f601ef36df217f0bc76a49f261eff25449f 1 parent 3bdb940
Glenn Adams authored
Showing with 0 additions and 76 deletions.
  1. +0 −76 build.xml
View
76 build.xml
@@ -489,82 +489,6 @@ NOTE:
<xslt in="${build.dir}/report_checkstyle.xml" out="${build.dir}/report_checkstyle.html" style="${checkstyle.noframes.xslt}"/>
</target>
- <!--
- <property name="checkstyle.home.dir" value="${optional.lib.dir}"/>
- <property name="checkstyle.noframes.xslt" value="${checkstyle.home.dir}/contrib/checkstyle-noframes.xsl"/>
-
- <path id="checkstyle-path">
- <fileset dir="${checkstyle.home.dir}">
- <include name="checkstyle-all-*.jar"/>
- <include name="checkstyle-*.jar"/>
- <include name="antlr*.jar"/>
- <include name="commons-beanutils*.jar"/>
- <include name="commons-collections*.jar"/>
- <include name="commons-logging*.jar"/>
- <include name="jakarta-regexp*.jar"/>
- </fileset>
- </path>
-
- <path id="checkstyle-runpath">
- <path refid="checkstyle-path"/>
- </path>
-
- <target name="checkstyle-avail" depends="init">
- <available property="checkstyle.available" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="checkstyle-path"/>
- <available property="checkstyle.4.x" classname="com.puppycrawl.tools.checkstyle.checks.coding.ModifiedControlVariableCheck" classpathref="checkstyle-path"/>
- <available property="checkstyle.noframes.xslt.available" file="${checkstyle.noframes.xslt}"/>
- <condition property="checkstyle.message" value="Checkstyle 4.x Support PRESENT">
- <and>
- <equals arg1="${checkstyle.available}" arg2="true"/>
- <equals arg1="${checkstyle.4.x}" arg2="true"/>
- </and>
- </condition>
- <condition property="checkstyle.message" value="Checkstyle 3.x Support PRESENT">
- <equals arg1="${checkstyle.available}" arg2="true"/>
- </condition>
- <condition property="checkstyle.message" value="Checkstyle Support NOT Present">
- <not>
- <equals arg1="${checkstyle.available}" arg2="true"/>
- </not>
- </condition>
- <echo message="${checkstyle.message}"/>
- <condition property="checkstyle.config" value="checkstyle-4.0.xml">
- <equals arg1="${checkstyle.4.x}" arg2="true"/>
- </condition>
- <condition property="checkstyle.config" value="checkstyle-3.5-fop-head.xml">
- <not>
- <equals arg1="${checkstyle.4.x}" arg2="true"/>
- </not>
- </condition>
- <condition property="checkstyle.noframes.xslt.message" value="Checkstyle HTML style sheet support PRESENT">
- <equals arg1="${checkstyle.noframes.xslt.available}" arg2="true"/>
- </condition>
- <condition property="checkstyle.noframes.xslt.message" value="Checkstyle HTML style sheet support NOT Present">
- <not>
- <equals arg1="${checkstyle.noframes.xslt.available}" arg2="true"/>
- </not>
- </condition>
- <echo message="${checkstyle.noframes.xslt.message}"/>
- </target>
-
- <target name="checkstyle-check" depends="checkstyle-avail, init" if="checkstyle.available">
-
- <taskdef name="checkstyle" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="checkstyle-runpath"/>
- <checkstyle config="${checkstyle.config}" failonviolation="false"
- classpathref="checkstyle-runpath">
- <fileset dir="${src.java.dir}" includes="**/*.java"/>
- <formatter type="plain" toFile="${build.dir}/checkstyle_report.txt"/>
- <formatter type="xml" toFile="${build.dir}/checkstyle_report.xml"/>
- </checkstyle>
- </target>
-
- <target name="checkstyle-html" depends="checkstyle-avail, checkstyle-check" if="checkstyle.noframes.xslt.available">
- <style in="${build.dir}/checkstyle_report.xml" out="${build.dir}/checkstyle_report.html" style="${checkstyle.noframes.xslt}"/>
- </target>
-
- <target name="checkstyle" depends="checkstyle-avail, checkstyle-check, checkstyle-html" description="Runs Checkstyle for a code quality report"/>
- -->
-
<!-- =================================================================== -->
<!-- Creates the documentation -->
<!-- =================================================================== -->
Please sign in to comment.
Something went wrong with that request. Please try again.