[hibernate-dev] Checkstyle: enforced!

Gunnar Morling gunnar at hibernate.org
Thu Apr 18 11:56:37 EDT 2013


Also you're not always in your IDE. For instance I recently tried to change
something experimentally in the AS code base, just using my text editor
(no, it was not vi ;). Then CS can really be in the way for
compilation/tests. So I think it makes most sense to have it in the
"verify" phase.


2013/4/18 Hardy Ferentschik <hardy at hibernate.org>

>
> On 18 Jan 2013, at 5:27 PM, Sanne Grinovero <sanne at hibernate.org> wrote:
>
> > On 18 April 2013 16:13, Gunnar Morling <gunnar at hibernate.org> wrote:
> >> Yeah, I was just about to suggest that :)
> >
> > Good idea, but isn't it true that if your IDE is correctly setup it
> doesn't matter?
>
> True, but sometimes you might want to ignore the rules.
>
> > I'm not sure about IDEA, but Eclipse detects the checkstyle rules and
> > shows violations right away.
>
> Not sure, I don't have any check style plugin enabled in Idea. And again,
> it
> is a question of IDE vs build. Wether and how you configure your IDE to
> conform to the coding standard is one thing and where and how you check
> the standard as part of the build is another.
>
> --Hardy
>
>


More information about the hibernate-dev mailing list