[hibernate-dev] Checkstyle: enforced!

Guillaume SCHEIBEL guillaume.scheibel at gmail.com
Fri Apr 19 03:54:19 EDT 2013


Hi guys,

Where can I find the new style rule for Intellij and the checktyle plugin ?
As you know I'm a master to mess up with code formatting ;)


Thanks
Guilllaume



2013/4/18 Strong Liu <stliu at hibernate.org>

> btw, I just installed the checkstyle and findbugs plugin on our CI server
> :D
>
>
> On Apr 19, 2013, at 12:44 AM, Steve Ebersole <steve at hibernate.org> wrote:
>
> > IDEA has a checkstyle plugin (and a jdepend plugin fwiw).  And it will
> > also immediately show violations in the editor (as well as collect them
> > in the problems window).  It does not auto detect the settings however,
> > you need to point it to the file.
> >
> > You can still compile, run tests, etc.  Very ideal imo.
> >
> >
> > On 04/18/2013 10:27 AM, Sanne Grinovero 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?
> >> I'm not sure about IDEA, but Eclipse detects the checkstyle rules and
> >> shows violations right away.
> >>
> >>
> >>> 2013/4/18 Hardy Ferentschik <hardy at hibernate.org>
> >>>>
> >>>> On 18 Jan 2013, at 4:48 PM, Sanne Grinovero <sanne at hibernate.org>
> wrote:
> >>>>
> >>>>> Hi all,
> >>>>>
> >>>>> yesterday we merged checkstyle integration in Hibernate OGM: it's
> >>>>> going to fail the compile phase if there are violations (!).
> >>>> +1 Joining the ranks of Validator and Search :-)
> >> To clarify, the set of rules defined in OGM are significantly stricter
> >> than what we had in Search initially.
> >>
> >> Cheers,
> >> Sanne
> >>
> >>>> Btw, in HV Gunnar convinced me to attache the checkstyle plugin to the
> >>>> verify phase.
> >>>> This way you can hack away w/o caring too much about a coding style
> since
> >>>> the compile
> >>>> will work. However, a full 'mvn install' will fail.
> >>>>
> >>>> --Hardy
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> hibernate-dev mailing list
> >>>> hibernate-dev at lists.jboss.org
> >>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >>>
> >> _______________________________________________
> >> hibernate-dev mailing list
> >> hibernate-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> -------------------------
> Best Regards,
>
> Strong Liu <stliu at hibernate.org>
> http://about.me/stliu/bio
>
>
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list