Hi,
There is an Apache template available too at
http://www.apache.org/dev/svn-eol-style.txt.
Thanks,
Raymond
--------------------------------------------------
From: "Raymond Feng" <[EMAIL PROTECTED]>
Sent: Wednesday, April 09, 2008 6:56 PM
To: <tuscany-dev@ws.apache.org>
Subject: Setting the SVN config for the correct file properties, was : Re:
Tuscany Java SCA 1.2-incubating (RC3a) - SVN issues
Hi,
For each Tuscany committers, they should configure properties in the
per-user SVN config. On Unix-like systems, it is <user
home>/.subversion/config. On Win32 systems, it is <user home>\Application
Data\Subversion\config (by the way, the Application Data folder is usually
a hidden directory).
Please make sure the following properties are set in the "config" file:
[miscellany]
...
enable-auto-props = yes
[auto-props]
### The format of the entries is:
### file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain wildcards (such as '*' and
### '?'). All entries which match will be applied to the file.
### Note that auto-props functionality must be enabled, which
### is typically done by setting the 'enable-auto-props' option.
*.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:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
Makefile = svn:eol-style=native
*.java = svn:eol-style=native;svn:keywords=Rev Date
*.xml = svn:eol-style=native;svn:keywords=Rev Date
*.xsd = svn:eol-style=native;svn:keywords=Rev Date
*.html = svn:eol-style=native;svn:keywords=Rev Date
*.properties = svn:eol-style=native;svn:keywords=Rev Date
*.jelly = svn:eol-style=native;svn:keywords=Rev Date
*.ipr = svn:eol-style=native
*.iml = svn:eol-style=native
I have added it to the developer guide and also checked in a template at:
https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/svn-config.
Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <[EMAIL PROTECTED]>
Sent: Wednesday, April 09, 2008 6:24 PM
To: <tuscany-dev@ws.apache.org>
Subject: Re: Tuscany Java SCA 1.2-incubating (RC3a) - SVN issues
Thanks Sebb, I have applied this to the SCA 1.2 branch and will later
merge to trunk.
BTW, do you have an automated way to check for these issues ? we could
enhance our release page to avoid issues in the future.
[1] http://cwiki.apache.org/confluence/display/TUSCANY/Making+releases
On Wed, Apr 9, 2008 at 5:40 AM, sebb <[EMAIL PROTECTED]> wrote:
There are a lot of .java (and other) files in SVN without the correct
eol-style:native settings.
Also some files incorrectly have executable:*
I've created a script that can be used to fix these; try to run it on
the same OS as was last used to update the files to reduce the SVN
mail noise.
See the file tuscany-sca-1.2-RC3a.sh in:
http://people.apache.org/~sebb/SVNfixes/
Just rename as .cmd to use on Windows.
The same script should probably be applied to trunk.
S///
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]