cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bim2...@basistech.com>
Subject RE: No warnings for unused imports
Date Tue, 04 Sep 2007 15:16:33 GMT
OK, that explains it. I created a new project as at least a temporary
home for a test case, and it didn't get those rules.

> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: Tuesday, September 04, 2007 11:15 AM
> To: cxf-dev@incubator.apache.org
> Cc: Benson Margulies
> Subject: Re: No warnings for unused imports
> 
> On Tuesday 04 September 2007, Benson Margulies wrote:
> > Howcome warnings for unused imports aren't enabled in eclipse?
> 
> I think it's because the jaxb generated code sticks a bunch of unused
> imports into all the generated artifacts.    Thus, if it's on in
> eclipse, you get a ton of warnings in the generated directories.
> There are a few eclipse warning we had to turn off due to the
generated
> code not being "clean".
> 
> We DO have the unused imports checkstyle rule turned on so checkstyle
> will flag them.    If you have the checkstyle plugin for eclipse
> installed, they should show up.   For checkstyle, we can specifically
> tell it which directories should be checked and which ones to skip
> (generated code).
> 
> 
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194
> daniel.kulp@iona.com
> http://www.dankulp.com/blog

Mime
View raw message