openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@bea.com>
Subject RE: Eol-style
Date Thu, 01 Feb 2007 20:59:08 GMT
So for OpenJPA, the [auto-props] section should include the following as
well:

*.java: svn:eol-style=LF
*.properties: svn:eol-style=LF
*.xml: svn:eol-style=LF

I haven't tried this out yet, but TFM claims that those are the correct
values. Sadly, as far as I can tell, this cannot be used to disable the
svn:executable setting that svn slaps on files added via Windows.

-Patrick

-- 
Patrick Linskey
BEA Systems, Inc. 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it. 

> -----Original Message-----
> From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM] 
> Sent: Thursday, February 01, 2007 12:02 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: Eol-style
> 
> This just in:
> 
> 
> > If I have to do it individually to files, is there some way 
> to ensure that 
> > any text file checked it gets this property set? Otherwise, 
> we're bound to 
> > forget to set it frequently. 
> 
> Yes, it's a new feature in your ~/.subversion/config file, not yet 
> documented in the Book. Enable the "auto-props" feature and set 
> patterns accordingly. Any time you 'svn add' a text file, it will 
> automatically set properties for you. Here's the excerpt from 
> a modern 
> ~/.subversion/config file: 
> 
> ### Set enable-auto-props to 'yes' to enable automatic properties 
> ### for 'svn add' and 'svn import', it defaults to 'no'. 
> ### Automatic properties are defined in the section 'auto-props'. 
> enable-auto-props = yes 
> 
> 
> 
> 
> ### Section for configuring automatic properties. 
> ### The format of the entries is: 
> ### file-name-pattern = propname[=value][;propname[=value]...] 
> ### The file-name-pattern can contain * as wildcard. All entries 
> ### which match will be applied to the file. 
> [auto-props] 
> *.c = svn:eol-style=native 
> *.cpp = svn:eol-style=native 
> *.h = svn:eol-style=native 
> *.dsp = svn:eol-style=CRLF 
> *.dsw = svn:eol-style=CRLF 
> *.sh = svn:eol-style=native;svn:executable 
> *.txt = svn:eol-style=native 
> *.png = svn:mimetype=image/png 
> *.jpg = svn:mimetype=image/jpeg 
> Makefile = svn:eol-style=native 
> 
> 
> Craig Russell
> 
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 
> 408 276-5638 mailto:Craig.Russell@sun.com
> 
> P.S. A good JDO? O, Gasp!
> 
> 
> 

Mime
View raw message