Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » @version tag auto-filled with revision number
@version tag auto-filled with revision number [message #287086] Thu, 23 June 2005 20:23 Go to next message
Eclipse UserFriend
Originally posted by: bradley.wagner.hannonhill.com

Is there a way using Eclipse and CVS to autofill the @version Javadoc tag with the CVS revision
number of the file? Sun's documentation on @version tag mentions this sort of autmation:

http://java.sun.com/j2se/javadoc/writingdoccomments/index.ht ml#@version

Thanks,
Bradley
Re: @version tag auto-filled with revision number [message #287114 is a reply to message #287086] Fri, 24 June 2005 07:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

Because java source files are plain text files you can use all CVS-related
keywords.

In Preferences > Team > CVS page set 'Default keyword substitution' to
'ASCII with keyword expansion (-kkv)'.

After this setting you can use all $xx$ CVS keywords. For revision numbers
you can use '@version $Revision: $

You can use all CVS keywords:
http://www.badgertronics.com/writings/cvs/keywords.html

HTH,
Regards,
Csaba

Bradley Wagner wrote:
> Is there a way using Eclipse and CVS to autofill the @version Javadoc tag
> with the CVS revision number of the file? Sun's documentation on @version
> tag mentions this sort of autmation:
>
> http://java.sun.com/j2se/javadoc/writingdoccomments/index.ht ml#@version
>
> Thanks,
> Bradley
Re: @version tag auto-filled with revision number [message #287136 is a reply to message #287114] Fri, 24 June 2005 14:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bradley.wagner.hannonhill.com

Thanks, that's exactly what I was looking for. Do you know if there's anyway to make the time print
out as local time as opposed to GMT. I noticed that while if I view the Resource Historoy in Eclispe
it displays the local time, the CVS info is always in GMT.

Horváth, Csaba wrote:
> Hi,
>
> Because java source files are plain text files you can use all CVS-related
> keywords.
>
> In Preferences > Team > CVS page set 'Default keyword substitution' to
> 'ASCII with keyword expansion (-kkv)'.
>
> After this setting you can use all $xx$ CVS keywords. For revision numbers
> you can use '@version $Revision: $
>
> You can use all CVS keywords:
> http://www.badgertronics.com/writings/cvs/keywords.html
>
> HTH,
> Regards,
> Csaba
>
> Bradley Wagner wrote:
>
>>Is there a way using Eclipse and CVS to autofill the @version Javadoc tag
>>with the CVS revision number of the file? Sun's documentation on @version
>>tag mentions this sort of autmation:
>>
>> http://java.sun.com/j2se/javadoc/writingdoccomments/index.ht ml#@version
>>
>>Thanks,
>>Bradley
>
>
>
Re: @version tag auto-filled with revision number [message #287153 is a reply to message #287114] Fri, 24 June 2005 20:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kustos.gmx.net

> Because java source files are plain text files you can use all CVS-related
> keywords.
>
> In Preferences > Team > CVS page set 'Default keyword substitution' to
> 'ASCII with keyword expansion (-kkv)'.
>
> After this setting you can use all $xx$ CVS keywords. For revision numbers
> you can use '@version $Revision: $

And you can then wirte your own Javadoc version tag so that it gets
formated right in the html output.
Re: @version tag auto-filled with revision number [message #287156 is a reply to message #287153] Fri, 24 June 2005 20:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bradley.wagner.hannonhill.com

How?

Philippe Marschall wrote:
>>Because java source files are plain text files you can use all CVS-related
>>keywords.
>>
>>In Preferences > Team > CVS page set 'Default keyword substitution' to
>>'ASCII with keyword expansion (-kkv)'.
>>
>>After this setting you can use all $xx$ CVS keywords. For revision numbers
>>you can use '@version $Revision: $
>
>
> And you can then wirte your own Javadoc version tag so that it gets
> formated right in the html output.
Re: @version tag auto-filled with revision number [message #287177 is a reply to message #287156] Sat, 25 June 2005 10:26 Go to previous message
Eclipse UserFriend
Originally posted by: kustos.gmx.net

http://java.sun.com/j2se/1.4.2/docs/tooldocs/javadoc/overvie w.html

and use ant and not the command line

Bradley Wagner wrote:
> How?
>
> Philippe Marschall wrote:
>
>>> Because java source files are plain text files you can use all
>>> CVS-related
>>> keywords.
>>>
>>> In Preferences > Team > CVS page set 'Default keyword substitution' to
>>> 'ASCII with keyword expansion (-kkv)'.
>>>
>>> After this setting you can use all $xx$ CVS keywords. For revision
>>> numbers
>>> you can use '@version $Revision: $
>>
>>
>>
>> And you can then wirte your own Javadoc version tag so that it gets
>> formated right in the html output.
Previous Topic:Why I can't see the icon on the button
Next Topic:Changing Project Type
Goto Forum:
  


Current Time: Thu Nov 07 05:10:08 GMT 2024

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

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

Back to the top