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.
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.
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.