Results 1 to 7 of 7
  1. #1
    ntagrafix's Avatar
    ntagrafix is offline Member
    Join Date
    Nov 2009
    Location
    Denmark
    Posts
    29
    Rep Power
    0

    Question How to include all classes in JavaDoc?

    Hi all,

    I finish my project with 12 .java files. But when i use NetBeans IDE 6.7.1 to automatically generate javadoc, it show only 7 files in the generated javado..

    How can i include all .java in the?

    thanks
    Life is not perfect, but the way you live it can make it perfectly wongerful :cool:

  2. #2
    Arnold is offline Member
    Join Date
    Oct 2009
    Location
    Rotterdam
    Posts
    52
    Rep Power
    0

    Default

    Try this:
    Java Code:
    javadoc *.java
    Also try:
    Java Code:
    javac *.java

  3. #3
    sky
    sky is offline Member
    Join Date
    Nov 2009
    Posts
    96
    Rep Power
    0

    Default

    I think javadoc only includes classes that are public. Maybe those classes are not public. Private methods are also hidden and I don't know if there is a way to include them.

  4. #4
    ntagrafix's Avatar
    ntagrafix is offline Member
    Join Date
    Nov 2009
    Location
    Denmark
    Posts
    29
    Rep Power
    0

    Thumbs up

    thank you guys :)

    I tried Arnold's approach it gives the same result. Sky is right, because i checked the missing files are not public.

    Thank for your help.
    Life is not perfect, but the way you live it can make it perfectly wongerful :cool:

  5. #5
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    Private methods are also hidden and I don't know if there is a way to include them.

    Check out -private in the javadoc documentation.

    There will be some way to tell NB to use all the various options you want the javadoc to have, but I have no idea what that is.

  6. #6
    sky
    sky is offline Member
    Join Date
    Nov 2009
    Posts
    96
    Rep Power
    0

    Default

    Quote Originally Posted by pbrockway2 View Post
    Check out -private in the javadoc documentation.

    There will be some way to tell NB to use all the various options you want the javadoc to have, but I have no idea what that is.
    Thanks for the info, I will take a look.

  7. #7
    ntagrafix's Avatar
    ntagrafix is offline Member
    Join Date
    Nov 2009
    Location
    Denmark
    Posts
    29
    Rep Power
    0

    Thumbs up

    Thanks pbrockway2,

    I changed by adding public to all the classes and no errors and they all appear in the JavaDoc.

    Yet, i'll have to look over this document for future use. ;)


    Cheers ..
    Life is not perfect, but the way you live it can make it perfectly wongerful :cool:

Similar Threads

  1. include-prelude/include-coda
    By devin in forum Java Servlet
    Replies: 0
    Last Post: 02-11-2009, 07:33 PM
  2. How to include lib in JAR file
    By adam.muller in forum Eclipse
    Replies: 4
    Last Post: 08-06-2008, 05:15 PM
  3. jsp:include in a sql:transaction
    By sam2020 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 07-31-2008, 08:11 PM
  4. Replies: 5
    Last Post: 07-29-2008, 02:13 PM
  5. jsp:include and include file
    By Heather in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-14-2007, 04:19 PM

Posting Permissions

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