#256 Using checkstyle with Dr. Java

open
nobody
Other (56)
5
2014-07-23
2010-08-09
Anonymous
No

How can I step up Dr. Java so that I can use Checkstyle with it?

Discussion

  • Mathias Ricken
    Mathias Ricken
    2010-08-09

    The easiest way would be to use the External Process Facility under Tools -> External Processes. Unfortunately, we do not have any descent documentation for it yet ( expected at http://drjava.org/docs/user/ch11.html ).

    In essence, you should be able to do something like this:

    java com.puppycrawl.tools.checkstyle.Main ${drjava.all.files;sep=" ";rel="${project.root}"}

    You probably have to specify the classpath to make sure that Checkstyle is on it.