Author: billbarker Date: Fri Jun 12 04:32:40 2015 New Revision: 1685033 URL: http://svn.apache.org/r1685033 Log: Allow Gump to use the newer version of checkstyle
Modified: tomcat/tc8.0.x/trunk/build.xml Modified: tomcat/tc8.0.x/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/build.xml?rev=1685033&r1=1685032&r2=1685033&view=diff ============================================================================== --- tomcat/tc8.0.x/trunk/build.xml (original) +++ tomcat/tc8.0.x/trunk/build.xml Fri Jun 12 04:32:40 2015 @@ -531,8 +531,12 @@ description="Uses Checkstyle tool to perform style check for the source code"> <!-- Required so we can cache checkstyle results --> <mkdir dir="${tomcat.output}/res/checkstyle"/> + <available property="checkstyletask.properties" resource="checkstyletask.properties" + classpath="${checkstyle.jar}" value="checkstyletask.properties"/> + <available property="checkstyletask.properties" resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" + classpath="${checkstyle.jar}" value="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties"/> - <taskdef resource="checkstyletask.properties" + <taskdef resource="${checkstyletask.properties}" classpath="${checkstyle.jar}" /> <checkstyle config="res/checkstyle/checkstyle.xml"> <fileset dir="." > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org