@version %I%, %G% - cannot get this to work?

I cannoot get the version %I%, %G% tags to do anything
javadoc comments are;-
* @author Someone
* @version %I%, %G%
and at the command line I have;-
javadoc -author -version -nodeprecatedlist -header "<b>Junk.class</b>" -windowtitle "Junk.class" Junk.javaAnd EVERYTHING WORKS - e x c e p t ...here's the result;-
public class junk
extends java.lang.Object
Version:
%I%, %G%
Author:
Someone

"are you using any tool for source code control like
cvs,pvcs etc"
No.Then generic format string tags like %I or %G aren't going to work. Those are there for use with certain source control systems or IDEs.
When you do a get from the source repository (depending on the source control system), the repository will automatically replace those tokens with the correct version number based on the "labels" or "tags" that certain versions of your code have been marked with.
%I and %G from what I found on google appear to be information tags for SCCS.
The "-version" argument to javadoc merely tells it to include your @version comments in its output which is disabled by default. It won' automatically generate your version information for you.
If you aren't using source control, you'll have to go through each file and put real version numbers in place of %I% and %G%.

Similar Messages

Maybe you are looking for

  • How to choose between CBR and 2-Pass VBR ?

    Hi, I know alot of virtual ink has flowed about this topic, but I couldnt find the answer I need. I'm compressing an 83minute feature film to DVD. Source material is 10bit Uncompressed YUV from PAL DigiBeta, sent directly from FCP to Compressor. Comp

  • Question on using dialog functions

    When I use some dialog function, such as two button dialog box, can I change some properties, such as the size of popup widow, font size and color? I just want to make some more friendly and professional interface of my application to users. Thanks. 

  • Page Layout document

    I created a single page I want to use as a template ultimately. It is now a word processing document and I need it to be in a page layout document. How do I do that?

  • Where is Facebook integration in Mountain Lion?

    I upgraded to Mountain Lion and found the Share option in Safari but can't find the Facebook sharing option. Also, the iCould icon is emtpy. Is this not activated yet?

  • Open HTML page with Forms6

    Hi, I want to open a html page containing instructions for my application. I've tried with the Host built-in. While I read the instructions I cannot operate with my calling Forms-application. I want to use they in parallel. Can you tell me how can I