AFAIK, Not really possible.  Check style checks a number of pedantic 
things that the formatter doesn't.  (And Checkstyle is really annoying 
with some of those)  This would cause the formatter to run repetitively. 
 If CheckStyle provided its own pedantic formatter then it would 
work...but it doesn't (to the best of my knowledge).

-Andy

Rainer Klute wrote:

>>What I proposed is in between: the code is reformatted *only* if it fails
>>more than X number of checkstyle tests.
>>
>>This way if the code you write is mainly in line, it will not be changed.
>>
>>If not , it will.
>>
>>This would solve your problem, since code that doesn't break (the loose
>>standards we have) will remain untouched.
>>    
>>
>
>Sounds good. Can we have a "warning period" for the author, i.e.
>
>1. Run the checkstyle tests.
>
>2. If the the results are in the red range, request the author(s) 
>   to fix the code within, say, a month (at least as much as to press 
>   the checkstyle result below the warning limit).
>
>3. If the warning period exceeds, the code is reformatted 
>   automatically.
>
>Is this possible?
>
>Best regards
>Rainer Klute
>
>                           Rainer Klute IT-Consulting GmbH i. Gr.
>  Dipl.-Inform.
>  Rainer Klute             E-Mail:  [EMAIL PROTECTED]
>  K�rner Grund 24          Telefon: +49 172 2324824
>D-44143 Dortmund           Telefax: +49 231 5349423
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>




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

Reply via email to