clipse-checkstyle-plugin and maven-checkstyle-plugin behaviour

"Christian-Luc Houzé" <[email protected]>
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hi

I am using checkstyle with a specific configuration file, and I'd like to
use it both with maven-checkstyle-plugin AND eclipse-checkstyle-plugin

I included this configuration file as a resource in a jar
The maven-checkstyle-plugin accepts it and the plugin configuration works
fine: checkstyle - or the plugin - is clever enough to get the xml file out
of the dependency jar.

I'd like to do exactly the same within eclipse with the
eclipse-checkstyle-plugin
(so that checkstyle can be active during eclipse work, and not just when
building with maven, referencing the same jar file)

Unfortunately the checkstyle preference window does not seem to allow a
reference to a jar.
I get "unable to parse configuration stream - Content is not allowed in
prolog.:1:1"

Obviously, if I choose the xml file, it works.

Is there any option so that both plugins can accept a jar file holding the
same configuration(s) file(s) ?

Thanks for any hint

Christian-Luc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.