[hibernate-dev] [Hibernate Search] Checkstyle and Eclipse

Flemming Harms flemming.harms at gmail.com
Thu Sep 3 12:25:37 EDT 2015


You are right Gunnar I was working on a old branch, update fixed the
problem with RedundantThrows.

But now I get this : cannot initialize module TreeWalker - Unable to
instantiate org.hibernate.checkstyle.checks.regexp.DoubleSpaces

See this before?

2015-09-03 16:41 GMT+02:00 Gunnar Morling <gunnar at hibernate.org>:

> I remember having the same issue a while ago and fixed it back then by
> removing the RedundantThrows check from HS' checkstyle.xml (see
>
> https://github.com/hibernate/hibernate-search/commit/543a9b1a9b86c22a3f4ad005ae6500fedaa83b67
> ).
>
> So are you either on another branch or have the Eclipse CS plug-in
> configured to work with another checkstyle.xml config?
>
> 2015-09-03 16:21 GMT+02:00 Sanne Grinovero <sanne at hibernate.org>:
> > Hi Flemmings,
> > others might know better, but personally I don't use the Checkstyle
> > plugin for Eclipse but we created templates and formatting rules to
> > match our coding conventions:
> >
> > https://github.com/hibernate/hibernate-ide-codestyles
> >
> > Sanne
> >
> > On 3 September 2015 at 14:59, Flemming Harms <flemming.harms at gmail.com>
> wrote:
> >> Hi
> >>
> >> What version of the Eclipse checkstyle plug-in should I use? The latest
> >> seems to have trouble using the current configuration due to
> >> RedundantThrows was removed
> >>
> >> --
> >>
> >> Kind regards / Med Venlig Hilsen
> >> Flemming Harms
> >>
> >>    -
> >> _______________________________________________
> >> 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
>



-- 

Kind regards / Med Venlig Hilsen
Flemming Harms

   -

https://twitter.com/fnharms
https://dk.linkedin.com/in/fharms


More information about the hibernate-dev mailing list