Author: billbarker Date: Fri Jun 12 04:30:08 2015 New Revision: 1685032 URL: http://svn.apache.org/r1685032 Log: Allow Gump to use the newer version of checkstyle
Modified: tomcat/trunk/build.xml Modified: tomcat/trunk/build.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1685032&r1=1685031&r2=1685032&view=diff ============================================================================== --- tomcat/trunk/build.xml (original) +++ tomcat/trunk/build.xml Fri Jun 12 04:30:08 2015 @@ -540,8 +540,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