camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" <>
Subject Re: Checkstyle enabled
Date Mon, 01 Dec 2008 19:47:31 GMT

No me neither. I used to have the CXF checkstyle format that is
somewhere in the camel code as a .jar file you can import in IDEA.

What I have not is it to be configured with the correct import order
so I can optimize imports. But the only pita is the auto import
on-the-fly will insert it at the wrong place
so you have to optimize it from time to time.

Otherwise I think William is happy with it turned on, as it saves a
lot of his work to fix and commit code ;)

I am not a maven hog, but I guess there is some parameter you can add
to skip it. Jon / William?

/Claus Ibsen
Apache Camel Committer

On Mon, Dec 1, 2008 at 8:36 PM, James Strachan <> wrote:
> BTW until someone can figure out an easy way to get IDEA to format
> code according to the checkstyle settings - I think we should disable
> it by default.
> Has anyone figured out how to get IDEA to play nice? I tried following
> the instructions, using the checkstyle plugin for IDEA - but checking
> the style is totally different from configuring the code style that
> the IDE uses when reformatting files.
> 2008/11/22 Claus Ibsen <>:
>> Hi
>> Checkstyle has been enabled when doing maven install and now I have a
>> catch-22 situation.
>> It want's that a field in HttpOperationFailedException should be
>> declared final but it can not, as it's optional and there is a setter
>> for it.
>> [INFO] Starting audit...
>> D:\project\camel\components\camel-http\src\main\java\org\apache\camel\component\http\
>> The field 'responseBody' must be declared final.
>> Audit done.
>> /Claus Ibsen
>> Apache Camel Committer
>> Blog:
> --
> James
> -------
> Open Source Integration

View raw message