[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Auto Add comments

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-02-23 02:20:32 CET

On 2/22/07, Wong Hui Sing <huising.wong@intuitivesystems.com.my> wrote:
>
> Hi,
>
> I'm trying to find a way to set the Comments, Revision, Log and Id into
> coding after doing the commit.
> I had go to Window > Preferences > Java > Editor > Templates > New and
> create 2 template as below
>
> [snip]
> But after commit it won't written information of the value of Id, Log,
> Revision and author. What's wrong with my steps? is it need to any other
> configuration on Eclipse? Currently, i'm using Eclipse 3.2 with subclipse
> 1.1.10. is it need to have plugin other extension??
>

Subversion handles keywords differently than CVS. Read this section of the
book for details:

http://svnbook.red-bean.com/en/1.2/svn.advanced.props.html#svn.advanced.props.special.keywords

The short answer is that you have to set the svn:keywords property on any
file where you want to have keywords. The property contains which keywords
you want to use. Also, Subversion does not support the $Log: $ keyword.
See this FAQ:

http://subversion.tigris.org/faq.html#log-in-source

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Fri Feb 23 02:20:46 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.