Alain,

if you have an alternative checkstyle file for the sun_checks.xml, I'm 
happy to replace the existing one.

Patches are always welcome.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc


Alain Javier Guarnieri del Gesu <[EMAIL PROTECTED]> wrote on 09/11/2003 
02:30:23 PM:

> * John Keyes <[EMAIL PROTECTED]> [2003-11-09 02:02]:
> 
> > >>Is it possible to override configuration settings in the
> > >>current Checkstyle plugin like it was possible when
> > >>properties files were used?
> > >
> > >maven.checkstyle.properties=my-checkstyle.xml
> 
> > Yes but I have to specify all of the rules again in that file.  I
> > think it should be extensible.
> 
> I don't see why. Its a configuration file. Create your own
> configuration. It is just as easy to copy the file and edit it.
> 
> > >>For example, I would like to use the sun coding standard as the
> > >>base for my coding standard and I want to change some of the
> > >>settings.
> > >
> > >a) Be warned, the sun_checks.xml do not implement the sun coding
> > >   standard.
> > 
> > Why not?  It's bad that it doesn't work as advertised.
> 
> Read the Sun coding standards. They don't AvoidInlineConditionals,
> for example. The Sun coding standard says nothing about
> DesignForExtension, since design is not an aspect of formatting.
> Correct your RedundantThrows and then there is no way to javadoc a
> method that might throw both an IOException and a
> FileNotFoundException. Loath FinalParameters.
> 
> > >b) Have you seen Jalopy? http://jalopy.sourceforge.net/
> > >   There is a 'jalopy' goal.
> 
> > Yeah, but it doesn't haven any relevance to this discussion.  I
> > just like the idea of being able to import a base standard and
> > customize that as I see fit.
> 
> It is relevent. With Jalopy your code will comply to the Sun coding
> standards. Is that now what you want?
> 
>     "For example, I would like to use the sun coding standard as the
>      base for my coding standard and I want to change some of the
>      settings."
> 
> -- 
> Alain Javier Guarnieri del Gesu - [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to