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:[EMAIL PROTECTED] > Sent: Tuesday, September 04, 2007 11:15 AM > To: [email protected] > 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 > [EMAIL PROTECTED] > http://www.dankulp.com/blog
