Kauri Documentation
 PreviousHomeNext 
21.2 Coding styleBook Index21.4 Building restlet-snapshot

21.3 Subversion configuration

21.3.1 Subversion configuration

Edit the file ~/.subversion/config

Make sure the following line is not commented out:

enable-auto-props = yes

In the section [auto-props], add the following entries:

*.js = svn:eol-style=native
*.xml = svn:eol-style=native
*.html = svn:eol-style=native
*.java = svn:eol-style=native
*.txt = svn:eol-style=native
*.xconf = svn:eol-style=native
*.xweb = svn:eol-style=native
*.xmap = svn:eol-style=native
*.properties = svn:eol-style=native
*.css = svn:eol-style=native
*.xsl = svn:eol-style=native
*.xsd = svn:eol-style=native
*.dtd = svn:eol-style=native
*.ent = svn:eol-style=native
*.nsh = svn:eol-style=native
*.nsi = svn:eol-style=native
*.ini = svn:eol-style=native
*.conf = svn:eol-style=native
*.pom = svn:eol-style=native

Additionally one might want to automatically ignore some common IDE project files, by including the line:

global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store .classpath .project .settings *.iws *.ipr *.iml

In your IDE you just have to import this config file in the section "SVN properties configuration - automatic properties" if available.

 PreviousHomeNext 
21.2 Coding style21.4 Building restlet-snapshot