量産メモ帳

忘れっぽいのでメモを残しています。浅く適当に書きます。

auto-props を有効にする。

スポンサーリンク

↓のページに Mac/UnixWindowsEclipse のケースが載っていたので、引用させていただきました。

Mac/Unix: The invisible Subversion folder is located inside your $HOME directory.

On Mac OS X: [powermac:~/.subversion] sts% pwd /Users/sts/.subversion



On Windows it's located inside the Subversion directory in Application Data or Anwendungsdaten (german version)

C:\Dokumente und Einstellungen\stefans\Anwendungsdaten\Subversion\config



In Eclipse you've got to set the path to your config file:

Window > Preferences > Team > SVN > "Configuration Location" > "Use directory"



To enable



[miscellany]

### Set enable-auto-props to 'yes' to enable automatic properties

### for 'svn add' and 'svn import', it defaults to 'no'.

### Automatic properties are defined in the section 'auto-props'.

enable-auto-props = yes



[auto-props]

*.rb = svn:keywords=Id Author Revision HeadURL Date



Eclipse (Indigo) の場合、パスはこうなります。
Window > Preferences > Team > SVN > Property Configuration > Automatic properties


【Automatic properties】タブで「Add」ボタンを押すと、【Add Automatic Property】ダイアログが表示されるので、こんな具合に設定します。

  • [File Name Template] *.java
  • [Properties] svn:keywords=Author Date Id Revision



その他の参考資料: