Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Code Style @version tag for revision history.
Code Style @version tag for revision history. [message #895964] Mon, 16 July 2012 16:39 Go to next message
Zachary Lytle is currently offline Zachary Lytle
Messages: 1
Registered: July 2012
Junior Member
Is there a way to have generated comments with an @version tag contain something useful from the commit/revision? Ideally, the abbreviated commit id would be added to any @version tag where changes were made, but anything more useful that the original date the comment was created would be great.

I'm very new to using anything more than shoving my workspace into Dropbox, so I understand if this is a newbie question that belongs elsewhere and apologise in advance.
Re: Code Style @version tag for revision history. [message #895982 is a reply to message #895964] Mon, 16 July 2012 18:08 Go to previous messageGo to next message
R Shapiro is currently offline R Shapiro
Messages: 386
Registered: June 2011
Senior Member
What is it you really want to see? If you just want to know which commit last modified any given line in the file, Annotations will show you that. That seems cleaner to me than modifying the source.
Re: Code Style @version tag for revision history. [message #896016 is a reply to message #895964] Mon, 16 July 2012 22:41 Go to previous message
Robin Rosenberg is currently offline Robin Rosenberg
Messages: 330
Registered: July 2009
Senior Member
Zachary Lytle skrev 2012-07-16 18.39:
> Is there a way to have generated comments with an @version tag contain
> something useful from the commit/revision? Ideally, the abbreviated
> commit id would be added to any @version tag where changes were made,
> but anything more useful that the original date the comment was created
> would be great.
> I'm very new to using anything more than shoving my workspace into
> Dropbox, so I understand if this is a newbie question that belongs
> elsewhere and apologise in advance.

The @version tag is for compatibility documentation and should (when
used) be populated with the OSGi version.

The PDE API analysis tools can help you do that for OSGi bundles.

-- robin
Previous Topic:newbie import from git repository question
Next Topic:Installation EGit
Goto Forum:
  


Current Time: Thu Oct 23 21:37:01 GMT 2014

Powered by FUDForum. Page generated in 0.01812 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software