-- Frequently Asked (And Unasked) Questions --
If you feel there is a very obvious, essential question missing please drop us a note an
the mailing list or enter a bug report.
Q:
I just dropped plug-in version x.x.x in Eclipse (replacing version z.z.z, which
was working great) and I'm having some trouble using it. When I go to
Window > Preferences > Checkstyle an error occurs. I looked into the
Eclipse error log and found some NoClassDefFoundExceptions. Whats going on?
A:
If you install the plug-in from the downloaded distributable (not via the Update
Site) over an older version of the plug-in, Eclipse may have difficulties detecting the
change and updating its cached information about the plug-in. To force Eclipse to
update this information you have to restart Eclipse with the -clean option. For instance: <path-to-my-eclipse>\eclipse.exe -clean
Q:
I wrote a new Checkstyle rule. I know it works because I tested it. I created a
.jar file with .class files and with messages.properties. I can't plug-in
my rule to Eclipse - i don't know how do it ?
A:
It is now documented what to do to integrate custom checks with the plug-in. See here .
Q:
I use the Checkstyle Plug-in with my project which has only 1.000.000 source
files. Using Checkstyle on this project is extremely slow even after I upgraded to
4 GB memory! What to do? (This question is a bit dramatized by the FAQ author)
A:
Yes, checking such a project takes some time and memory resources. You
should try to decrease the number of files that are actually checked by using file sets and filter .
|