Page 1 of 1

eclipse + subclipse: problem with $Id$ in ini files

Posted: Thu Sep 06, 2007 8:27 pm
by karol.cejka
Hi,

i have a translation project on joomlacode: http://joomlacode.org/gf/project/sk_translations/
I try to insert on first line this code:

Code: Select all

# $Id$

And i want to have after commit something like this:

Code: Select all

# $Id: sk-SK.com_admin.ini 8580 2007-08-27 11:31:18Z humvee $


But after commit this tag don't be updated. Where is problem?
I'm not a subversion expert and i don't know where is problem ... server or client, but i want to solve this.
For my team is important have this ID updated.

I use Eclipse Platform, Version: 3.3.0 , Build id: I20070625-1500 and Subclipse, version 1.2.4 on linux (fc7)
subversion is native installed.

Thanks for answer.

Karol

Re: eclipse + subclipse: problem with $Id$ in ini files

Posted: Thu Sep 06, 2007 8:50 pm
by louis.landry
Its not so much a problem as you just have no set the keyword properties for the file.

Code: Select all

svn propset svn:keywords "Id" path/to/my/file.ini


Setting the keywords properties on the file will cause the SVN server to automagically mark those places in the source file.

then obviousy once you have set the properties you want to commit the change.

Louis

Re: eclipse + subclipse: problem with $Id$ in ini files

Posted: Thu Sep 06, 2007 10:00 pm
by karol.cejka
I know about it, but where in eclipse or subeclipse i can setup it?
I can't find configuration about this.

Re: eclipse + subclipse: problem with $Id$ in ini files

Posted: Thu Sep 06, 2007 10:23 pm
by louis.landry
I use the command line for that ... and gave you the command line argument for it :) outside of that someone else will have to comment.

Louis

Re: eclipse + subclipse: problem with $Id$ in ini files

Posted: Fri Sep 07, 2007 8:34 am
by karol.cejka
again  :) that is nice, but i need setup eclipse IDE  :'(