You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ga...@apache.org on 2012/10/22 06:03:08 UTC

svn commit: r1400755 - /xmlgraphics/commons/trunk/build.xml

Author: gadams
Date: Mon Oct 22 04:03:08 2012
New Revision: 1400755

URL: http://svn.apache.org/viewvc?rev=1400755&view=rev
Log:
Remove old checkstyle targets.

Modified:
    xmlgraphics/commons/trunk/build.xml

Modified: xmlgraphics/commons/trunk/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/build.xml?rev=1400755&r1=1400754&r2=1400755&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/build.xml (original)
+++ xmlgraphics/commons/trunk/build.xml Mon Oct 22 04:03:08 2012
@@ -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                                           -->
   <!-- =================================================================== -->



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org