Results 1 to 4 of 4

Thread: javadoc - ignore a comment line

  1. #1

    Thread Starter
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294

    javadoc - ignore a comment line

    I was wondering if when using javadoc style comments, there is a tag/flag that will make javadoc skip the tagged/flagged line in a comment when it is compiling the html pages.

    thanks

  2. #2
    Hyperactive Member marnitzg's Avatar
    Join Date
    Oct 2000
    Location
    South Africa
    Posts
    372
    Thought javadoc only took comments that started with /**
    Am I wrong? But surely then you can use the /* */ and // comments which will be ignored? Maybe its been too long since using javadoc! Shame on me!

  3. #3
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332
    have you tried closing the java comment block an then re-opening it?

    /**
    *
    * some comments
    */

    //skip a line

    /**
    *
    * some more comments?
    */


    ps - what ide do you use?
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

  4. #4

    Thread Starter
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294
    Hey guys,

    In retrospect, its a pretty dumb question. what i meant was how to make javadoc ignore a certain line inside one of the javadoc comments. like this:
    Code:
    /**
     * Description of class......... 
     * @author Kagey
     * @someTagHere !!!SKIP THIS LINE!!!
     * @version 453
     */
    Well, it turns out that it ignores any tag that it doesnt recognize, but it can't come before the class/method description or else the description wont be read.

    Cap: i just use editplus and integrated the java compiler. I am using a bat file with option files to run the javadoc creation.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width