tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject SVN propset branch for tc6
Date Wed, 19 Jul 2006 16:33:30 GMT
Hi,

I have created a branch that shows the difference between
current trunk and the new one wit correctly set
svn:eol-style and svn:executable

For example the
java/org/apache/catalina/Context.java when checked
out on linux has DOS line endings with those ugly ^M.
The same file with svn:eol-style native from the
svn_props branch is perfect both on linux and windoze.

Any objections I apply that to the trunk?
Remy said -1, but I hope he changes his mind :)

In any case I'll delete the branch after 24 hrs.

Here is the script I used for that:
(name it to svnprops.bat)

@echo off
if "%OS%" == "Windows_NT" setlocal

if "%1" == "" (
set SCRIPT_NAME=%~f0
) else (
set SCRIPT_NAME=%~f1
)

for /D %%i in (*) do (
cd %%i
svn propset svn:eol-style native *.java
svn propset svn:eol-style native *.properties
svn propset svn:eol-style native *.xml
svn propset svn:eol-style native *.html
svn propset svn:eol-style native *.txt
svn propset svn:eol-style native *.java
svn propset svn:eol-style native *.sh
svn propset svn:eol-style native *.bat
svn propset svn:executable *.sh
svn propset svn:executable *.bat
svn propset svn:executable *.exe
svn propset svn:mime-type image/gif *.gif
svn propset svn:mime-type image/jpeg *.jpg

call %SCRIPT_NAME% %SCRIPT_NAME%
cd ..
)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message