You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "Glynn, Eoghan" <eo...@iona.com> on 2006/09/08 19:23:50 UTC

Bad EOLs in source files


Folks,

I've come across a few sources riddled with ^Ms, presumably because some
windows users haven't set their svn:eol-style to native. See list below
...

Easy to fix up with dos2unix, but bound to screw up commits if anyone
has modified any of these elements in their working copies (unless
there's an 'ignore whitespace' option to svn commit ... doesn't appear
to be in v1.3).  

So if you've added any of these elements, check your svn:eol-style
setup. If you've modified any of these elements, use dos2unix to fix up
after committing.

Cheers,
Eoghan

eglynn - 1190> for f in `find . -name "*.java"`; do if test "`cat -v $f
| grep '\^M'`"; then echo $f; fi; done
./rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
./rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor
/Soap11FaultInInterceptor.java
./rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor
/RPCOutInterceptor.java
./rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor
/Soap11FaultOutInterceptor.java
./rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor
/RPCInInterceptor.java
./common/src/main/java/org/apache/cxf/staxutils/PartialXMLStreamReader.j
ava

eglynn 1 1191> for f in `find . -name "*.wsdl"`; do if test "`cat -v $f
| grep '\^M'`"; then echo $f; fi; done
./tools/wsdl2java/src/test/resources/wsdl2java_wsdl/bug305770/Printer.ws
dl

eglynn - 1192> for f in `find . -name "*.xsd"`; do if test "`cat -v $f |
grep '\^M'`"; then echo $f; fi; done
./api/src/main/resources/schemas/wsdl/xml-binding.xsd

Re: Bad EOLs in source files

Posted by Dan Diephouse <da...@envoisolutions.com>.
I think instead of "Folks," this should be "Dan!" I'll fix up my stuff 
and my svn props. Sorry for the ugliness!

- Dan

Glynn, Eoghan wrote:

>Folks,
>
>I've come across a few sources riddled with ^Ms, presumably because some
>windows users haven't set their svn:eol-style to native. See list below
>...
>
>Easy to fix up with dos2unix, but bound to screw up commits if anyone
>has modified any of these elements in their working copies (unless
>there's an 'ignore whitespace' option to svn commit ... doesn't appear
>to be in v1.3).  
>
>So if you've added any of these elements, check your svn:eol-style
>setup. If you've modified any of these elements, use dos2unix to fix up
>after committing.
>
>Cheers,
>Eoghan
>
>eglynn - 1190> for f in `find . -name "*.java"`; do if test "`cat -v $f
>| grep '\^M'`"; then echo $f; fi; done
>./rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
>./rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor
>/Soap11FaultInInterceptor.java
>./rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor
>/RPCOutInterceptor.java
>./rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor
>/Soap11FaultOutInterceptor.java
>./rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor
>/RPCInInterceptor.java
>./common/src/main/java/org/apache/cxf/staxutils/PartialXMLStreamReader.j
>ava
>
>eglynn 1 1191> for f in `find . -name "*.wsdl"`; do if test "`cat -v $f
>| grep '\^M'`"; then echo $f; fi; done
>./tools/wsdl2java/src/test/resources/wsdl2java_wsdl/bug305770/Printer.ws
>dl
>
>eglynn - 1192> for f in `find . -name "*.xsd"`; do if test "`cat -v $f |
>grep '\^M'`"; then echo $f; fi; done
>./api/src/main/resources/schemas/wsdl/xml-binding.xsd
>  
>


-- 
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com