Hello,

With the recent release of Checkstyle plugin 2.5, which uses Checkstyle
5.0, the format of the xml config file is not backwards compatible.

I struggled for a bit trying to understand why the checkstyle plugin
reported a "Could not find resource:
http://mycompany.com/templates/my-checkstyle-rules.xml"; error, where
that resource was actually browsable.

It so happens because the format of the file is not compliant with
Checkstyle 5.0 anymore, and using version 2.4 of the checkstyle plugin
finds the file loads it and produces the reports just fine.

It seems that the XML parsing exception reported from checkstyle 5.0 is
interpreted as a resource not found by the plugin and reported as such,
which is confusing.

Has anyone encountered the same behavior? I can build a "test case" and
raise a JIRA if that is the case...

Thanks, -Olivier



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to