views:

89

answers:

1

I can't find any configuration for the recent tendency of the Eclipse checkstyle plugin (I'm running 5.1.0) to complain about style issues in log4j.property files. It's not in my checkstyle.xml, it doesn't happen when I run checkstyle outside of eclipse, and I don't see an eclipse preference. Is this controllable?

+1  A: 

You can, from the checkstyle section of the "project properties", exclude

"file from non source directories"

If you select that option, it will stop "checking" that properties file.

Or you can click on the list of file types to check, and delete 'properties'.

alt text

VonC
thanks. I still wonder: why doesn't checkstyle.xml have a specific element for this log4j stuff?
bmargulies
@bmargulies: thanks for the edit. I just added the illustration.
VonC