Jason, Thanks for this. I've just tried it. Maven says it is using my properties file, but appears to be ignoring my settings! I basically cloned the turbine-checkstyle.properties and switched the line length using:
checkstyle.max.line.len = 132 The results are no different from just using the turbine properties. I'll have a good look in the morning Cheer Andy On 27/8/02 12:01 am, "Jason van Zyl" <[EMAIL PROTECTED]> wrote: > On Mon, 2002-08-26 at 19:00, Andy Pols wrote: >> Hi >> >> I'm having problems configuring checkstyle from the cvs HEAD. I want to use >> the SUN coding standards with a few tweaks - ie change line length from 80 >> to 132. I just can't figure out how to do this! >> >> I've tried adding the following to my project.properties file: >> >> maven.checkstyle.format = sun >> maven.checkstyle.max.line.len = 120 >> >> But this does not work. Any help would be appreciated. > > This is currently not supported, if you specify a format then an > internal properties file is used. Right now we do not pull in default > values then override. You need to provided a completely different > properties file. > > Place whatever properties you would like in your-checkstyle.properties > and place the following value in your project.properties: > > maven.checkstyle.properties = your-checkstyle.properties > > >> Cheers >> Andy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
