Re: checkstyle plugins: maven and eclipse

2007-10-05 Thread Greg_Vaughn
For the .checkstyle file, I just configured the eclipse prefs UI to point to a http url. It was pretty straightforward IIRC. Just poke through the checkstyle plugin UI. I think I did it in the project specific settings (project properties?). That's what creates the .checkstyle file. Otherwise i

Re: checkstyle plugins: maven and eclipse

2007-10-05 Thread Jim Sellers
Hi Greg. A couple of questions: "The .checkstyle file can point to the xml file in the maven repo." - how does it do this? Can you please provide an example? "There's only one source xml config file, but it gets deployed twice." - Are you doing that manually? Do you have it done with maven? Is

Re: checkstyle plugins: maven and eclipse

2007-10-05 Thread houzecl
this is the answer I got from checkstyle mailing list :-) "I would suggest trying the mailing lists for Maven and the Eclipse plug-in." Anyway, all previous answers are very probably the best solutions at this time. Christian-Luc Wayne Fay wrote: > > You'll probably have better luck with th

Re: checkstyle plugins: maven and eclipse

2007-10-04 Thread Greg_Vaughn
Thanks for mentioning that, Dimitris. I forgot about that piece. They're not mutually exclusive though. The .checkstyle file can point to the xml file in the maven repo. houzecl, I don't think I was clear enough in my first message. I have both the xml in a jar and the xml out of a jar in the m

RE: checkstyle plugins: maven and eclipse

2007-10-04 Thread Hayes, Peter
sync. See : http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#a dditionalConfig -Original Message- From: houzecl [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 4:02 AM To: users@maven.apache.org Subject: Re: checkstyle plugins: maven and eclipse Yes

Re: checkstyle plugins: maven and eclipse

2007-10-04 Thread Dimitris Kapanidis
I have another solution to this problem, which is not the maven way but works equally. I have uploaded the file on a web server and accessing it from there: Eclipse is using .checkstyle config to see the remote location of the configuration (there is an option for remote file) Maven is using t

Re: checkstyle plugins: maven and eclipse

2007-10-04 Thread houzecl
Yes, the last part of your post is what we'd like to do: One mavenized projet holding a set of configuration files. So that you can version, deploy, and access the jar containing the appropriate set of rules. We do not want to embed the rules inside the project(s) that will be using the rules. we

Re: checkstyle plugins: maven and eclipse

2007-10-03 Thread Greg_Vaughn
> I am using maven-checkstyle-plugin with a specific configuration file > (I made it as a resource in a jar 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 the same within eclipse with t

Re: checkstyle plugins: maven and eclipse

2007-10-03 Thread Wayne Fay
You'll probably have better luck with this question in an Eclipse mailing list. Or possibly even the main Checkstyle user list. Wayne On 10/3/07, houzecl <[EMAIL PROTECTED]> wrote: > > Hi > > I am using maven-checkstyle-plugin with a specific configuration file > (I made it as a resource in a jar

checkstyle plugins: maven and eclipse

2007-10-03 Thread houzecl
Hi I am using maven-checkstyle-plugin with a specific configuration file (I made it as a resource in a jar 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 the same within eclipse with the eclips