For developers who have joined in the past year, here's a non-obvious
bit of setup that you need to do for SVN.  I forgot to do it for my
new laptop, so I just had to dig it out for myself too.

Tom
---------- Forwarded message ----------
From: Tom Morris <[EMAIL PROTECTED]>
Date: Dec 10, 2006 3:54 PM
Subject: Configuring Subclipse/Subversion to set properties on new source files
To: [EMAIL PROTECTED], [email protected]


By default Subversion adds files to the repository with no properties set.
For ArgoEclipse, ArgoUML, and related projects we require both the
svn:keywords and svn:eol-style properties to be set.

To configure Subversion to do this automatically, add the following to your
config file:
  (Windows -  %APPDATA%\Subversion\config where %APPDATA% is C:\Documents
and Settings\<username>\Application Data)
  (Unix/Linux - ~/.subversion/config)

[miscellany]
enable-auto-props = yes

[auto-props]
*.java = svn:eol-style=native; svn:keywords=Id Author Date Revision
*.jpg = svn:mime-type=image/jpeg
*.png = svn:mime-type=image/png
*.properties = svn:eol-style=native
*.sh = svn:eol-style=native;svn:executable
*.txt = svn:eol-style=native
*.xml = svn:eol-style=native

If you edit the file incorrectly, Subclipse (or your SVN client) will
complain the next time you run it.  For Subclipse these errors will appear
in the Eclipse Console view.

Please take a few minutes right now to set this up so that you don't forget.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to