2014-12-29 14:20 GMT+03:00 <kkoli...@apache.org>: > Author: kkolinko > Date: Mon Dec 29 11:20:17 2014 > New Revision: 1648306 > > URL: http://svn.apache.org/r1648306 > Log: > Update to Checkstyle 6.2 > Merged r1648304 from tomcat/trunk. > > Modified: > tomcat/tc8.0.x/trunk/ (props changed) > tomcat/tc8.0.x/trunk/build.properties.default > tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml
For a record, starting with version 6.2 Checkstyle cannot run on Java 6, requires a minimum of Java 7. In theory, if we are going to use Checkstyle 6.2 with Tomcat 7 then it may be possible to use java.7.home property to run it with Java 7. Currently I see no need to backport this change to Tomcat 7. > \tc7.0.x\trunk\build.xml:509: java.lang.UnsupportedClassVersionError: > com/puppycrawl/tools/checkstyle/CheckStyleTask : Unsupported major.minor > version 51.0 Best regards, Konstantin Kolinko > Modified: tomcat/tc8.0.x/trunk/build.properties.default > URL: > http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/build.properties.default?rev=1648306&r1=1648305&r2=1648306&view=diff > ============================================================================== > --- tomcat/tc8.0.x/trunk/build.properties.default (original) > +++ tomcat/tc8.0.x/trunk/build.properties.default Mon Dec 29 11:20:17 2014 > @@ -213,7 +213,7 @@ objenesis.loc=https://objenesis.googleco > objenesis.jar=${objenesis.home}/objenesis-${objenesis.version}.jar > > # ----- Checkstyle, version 6.0 or later ----- > -checkstyle.version=6.1.1 > +checkstyle.version=6.2 > checkstyle.home=${base.path}/checkstyle-${checkstyle.version} > > checkstyle.loc=${base-sf.loc}/checkstyle/checkstyle/${checkstyle.version}/checkstyle-${checkstyle.version}-all.jar > checkstyle.jar=${checkstyle.home}/checkstyle-${checkstyle.version}-all.jar > > Modified: tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml > URL: > http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml?rev=1648306&r1=1648305&r2=1648306&view=diff > ============================================================================== > --- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original) > +++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Mon Dec 29 11:20:17 2014 > @@ -363,7 +363,7 @@ > (<code>base.path</code>). (kkolinko) > </update> > <update> > - Update optional Checkstyle library to 6.1.1. (kkolinko) > + Update optional Checkstyle library to 6.2. (kkolinko) > </update> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org