EclipsePlugin | checkstyle

(Dr) #1

Hello all,

I searched the web for an answear but found nothing so I decide to post here…

I have a java project where all eclipse files are generated with the eclipsePlugin. I correctly succeed to generate the .checkstyle file by using the nature & buildCommand of the eclipse.project

eclipse {
   project {
        natures = ['org.eclipse.jdt.core.javanature', 'net.sf.eclipsecs.core.CheckstyleNature']
        buildCommand 'org.eclipse.jdt.core.javabuilder'
        buildCommand 'net.sf.eclipsecs.core.CheckstyleBuilder'

It generate the .checkstyle file correctly but a basic one. Meaning that I’d like to specify the “file-match-pattern” parameters (and potentially several fileset)

Is anyone able to help me ?

Many thanks by advance.