Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1234436

javadoc doesn't generate html files if the source directory doesn't match packag

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.4

      Description


      I have a case where the source directory structure doesn't
      match the final package structure. I am finding the
      javadoc doesn't generate the html files from the comments
      lines in the *.java files. I am using the latest
      jdk-beta2-solaris2.

      My source directory structure is as follows :

                        /export/home/joe
                              |
                   --------------------------------------
                  | | |
                classes src doc
                                  |
                            ---------------------------
                           | | |
                         demo1 demo2 demo3
                           | | |
                    demo1_client.java *.java *.java


      The *.java has the line :

      package sunw.demo;

      The following is the javadoc command:

      cd /export/home/joe

      /opt/jdk-beta2-solaris2/java/bin/javadoc -d "./doc" -classpath ".:./classes:./src/demo1:/src/demo2:/src/demo3:/opt/jdk-beta2-solaris2/java/lib/classes.zip" sunw.demo

      Loading source files for sunw.demo
      Generating packages.html
      Generating index
      Generating tree


      Under the doc directory I find the following files are generated :

      AllNames.html
      Package-sunw.demo.html
      packages.html
      tree.html

      But no sunw.demo*.html files.
       
        ---Mahesh


       

        Attachments

          Activity

            People

            Assignee:
            mr Mark Reinhold
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: