facebook

CVS log information to javadoc

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #282185 Reply

    Is there a way I can output some CVS information to the javadoc of a class? I’d like MyEclipse to add automatically revision commit comment and author, so revision information is contained in the source code.

    Thanks In advance!

    #282197

    Loyal Water
    Member

    You can manually add comments when you commit your changes. You can even create a commit template which can be added while you commit.

    #282203

    I know I can post comments to CVS. What I want is that comments not only at CVS log but also at class javacode. For example, if I make a commit saying ‘fixed NullPointerException when no arguments’, I want the new version, author (me) and comment to be added at the top of the class, in order to be able to see source revision history at the java file.

    #282214

    Loyal Water
    Member

    Im sorry thats not possible.

    #282247

    ernestz
    Member

    Have you tried embedding the CVS “$Log$” (without quotes) keyword at the top of your source module in the comments section? You may have to change the keyword expansion mode of the source module(s) in order to have CVS ‘expand’ the keywords during updates/checkouts.

    Note: the $Log$ keyword will expand to all revision information and comments when expanded.

    #282255

    It worked, dude!!! Thank you very much. I had seen it at a IDEA forum, but I didn’t try it because I thought it’d be a plugin or something like that.

    That was exactly what I was looking for, thank you very much!!

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: CVS log information to javadoc

You must be logged in to post in the forum log in