I'm running on Linux (OpenSUSE 11.3, 32bit). Eclipse shows the file encoding as UTF-8 (inherited from container).
I've checked the hexdump of some of the files and confirmed there is no 0xFFFF character present. I did notice that the "//CHECKSTYLE:ON" line in these files was right at the end, and did not have a newline. Since 0xFFFF is what you get if you interpret a read failure/end of file as a character I thought this might relate, so tried adding a newline at the end of the file. That eliminated the "unexpected char: 0xFFFF" exceptions for the cases I tried. - Dennis On 11/27/2010 12:49 PM, Benson Margulies wrote: > WHat platform are you on? have you set file.encoding to something interesting? > > On Fri, Nov 26, 2010 at 6:47 PM, Dennis Sosnoski <[email protected]> wrote: > >> My original message is included in this one, at the bottom. There are >> three different variations of Checkstyle errors: 1) unexpected char: >> 0xFFFF; 2) Missing a header - not enough lines in file; and 3) Wrong >> order for import. >> >> - Dennis >> >> On 11/27/2010 11:04 AM, Benson Margulies wrote: >> >>> Sigh. I deleted your original message. What do the errors look like? >>> >>> On Fri, Nov 26, 2010 at 4:07 PM, Dennis Sosnoski <[email protected]> wrote: >>> >>> >>>> Had the subversion plugin, but was missing subversion itself on the >>>> system I was using. :-) Installed that, installed the matching version >>>> of subclipse, deleted and re-imported the projects, and now I'm left >>>> with "just" the errors. >>>> >>>> Thanks, >>>> >>>> - Dennis >>>> >>>> On 11/27/2010 02:53 AM, Benson Margulies wrote: >>>> >>>> >>>>> Looks like you lack a subversion plugin to eclipse, which would >>>>> somehow prevent the cs plugin from descending into your .svn >>>>> directories. >>>>> >>>>> On Fri, Nov 26, 2010 at 5:10 AM, Dennis Sosnoski <[email protected]> >>>>> wrote: >>>>> >>>>> >>>>> >>>>>> I've followed the instructions at >>>>>> http://cxf.apache.org/setting-up-eclipse.html to create an Eclipse >>>>>> project using the current trunk code, but Eclipse gives me a bunch of >>>>>> Checkstyle errors as well as a bunch of warnings. Here's a >>>>>> representative sampling of the Checkstyle errors (89 in all): >>>>>> >>>>>> Got an exception - unexpected char: 0xFFFF AddNumbers.java >>>>>> /cxf-systests-jaxws/src/test/java/org/apache/cxf/systest/handlers/types >>>>>> line 93 Checkstyle Problem >>>>>> Missing a header - not enough lines in file. package-info.java >>>>>> /cxf-systests-jaxws/src/test/java/org/apache/cxf/systest/handlers/types >>>>>> line 1 Checkstyle Problem >>>>>> Wrong order for 'org.apache.cxf.binding.soap.Soap11.SOAP_NAMESPACE' >>>>>> import. MAPAggregatorTest.java >>>>>> /cxf-rt-ws-addr/src/test/java/org/apache/cxf/ws/addressing line 69 >>>>>> Checkstyle Problem >>>>>> >>>>>> The warnings (346) all appear to relate to svn files included in the src >>>>>> tree: >>>>>> >>>>>> The resource is a duplicate of src/main/java/.svn/all-wcprops and was >>>>>> not copied to the output folder all-wcprops >>>>>> /cxf-systests-java2ws/src/main/resources/.svn Unknown Java Problem >>>>>> The resource is a duplicate of src/main/java/.svn/all-wcprops and was >>>>>> not copied to the output folder all-wcprops >>>>>> /cxf-xerces-xsd-validation/src/main/resources/.svn Unknown Java >>>>>> Problem >>>>>> The resource is a duplicate of src/main/java/.svn/entries and was not >>>>>> copied to the output folder entries >>>>>> /cxf-systests-java2ws/src/main/resources/.svn Unknown Java Problem >>>>>> The resource is a duplicate of src/main/java/.svn/entries and was not >>>>>> copied to the output folder entries >>>>>> /cxf-xerces-xsd-validation/src/main/resources/.svn Unknown Java >>>>>> Problem >>>>>> >>>>>> Are these all expected problems, or do I have something misconfigured? >>>>>> >>>>>> Thanks, >>>>>> >>>>>> - Dennis >>>>>> -- >>>>>> >>>>>> Dennis M. Sosnoski >>>>>> Java SOA and Web Services Consulting >>>>>> <http://www.sosnoski.com/consult.html> >>>>>> Axis2/CXF/Metro SOA and Web Services Training >>>>>> <http://www.sosnoski.com/training.html> >>>>>> Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> >
