|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Configuring Subclipse/Subversion to set properties on new source filesBy 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: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Fwd: Configuring Subclipse/Subversion to set properties on new source filesFor 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 <tfmorris@...> Date: Dec 10, 2006 3:54 PM Subject: Configuring Subclipse/Subversion to set properties on new source files To: dev@..., dev@... 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: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Fwd: Configuring Subclipse/Subversion to set properties on new source filesThis explanation is also available, with some slight deviations, in the Cookbook, section 2.2.2. (http://argouml-stats.tigris.org/documentation/defaulthtml/cookbook/ch02s02.html#d0e991
)
/Linus
2007/12/6, Tom Morris <tfmorris@...>:
For developers who have joined in the past year, here's a non-obvious |
| Free embeddable forum powered by Nabble | Forum Help |