Javadoc is complaining because it cannot find the source referenced by
the @see tag (in this case the java.lang.Runtime class). It will still
create the javadocs, it just will not create the links to the classes
that it cannot find.
 
I dealt with this by unzipping the src.jar that comes with the JDK
alongside tomcat.
 
This creates the javadoc for tomcat and the JDK all in one tidy little
(ok, one really friggin big) bundle.
 
NOTE: This operation takes a metric buttload of memory to complete.
 
Larry

>>> [EMAIL PROTECTED] 02/14/02 06:23AM >>>
Hi all !

Well, who can help for this non blockin' pb:

When i compil tomcat 4.0.2 with ant, i've got 2 set of warnings:

[javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] javadoc: warning - Tag @see: Class or Package not found:
java.lang.Runtime#exec(String command, String[]
envp,
  [javadoc]                                 File dir)
  [javadoc] javadoc: warning - Tag @see: Class or Package not found:
java.lang.Runtime#exec(String command, String[]
envp,
  [javadoc]                                 File dir)
  [javadoc] Generating
/usr/local/jakarta-tomcat-4.0.2-src/catalina/build/javadoc/stylesheet.css...

  [javadoc] 3 warnings
    [mkdir] Created dir:
/usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/catalina/docs/api

     [copy] Copying 374 files to
/usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/catalina/docs/api

build-prepare:

build-static:

build-main:

And the second one:

javadoc:
    [mkdir] Created dir:
/usr/local/jakarta-tomcat-4.0.2-src/jasper/build/javadoc
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.apache.jasper...
  [javadoc] Loading source files for package
org.apache.jasper.parser...

  [javadoc] Loading source files for package
org.apache.jasper.compiler...
  [javadoc] Loading source files for package
org.apache.jasper.runtime...
  [javadoc] Loading source files for package
org.apache.jasper.logging...
  [javadoc] Loading source files for package org.apache.jasper.util...
  [javadoc] Loading source files for package
org.apache.jasper.servlet...
  [javadoc] Loading source files for package org.apache.jasper.core...
  [javadoc] Constructing Javadoc information...
  [javadoc] javadoc: warning - Import not found: sun.tools.javac.Main
-
ignoring!
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating
/usr/local/jakarta-tomcat-4.0.2-src/jasper/build/javadoc/stylesheet.css...

  [javadoc] 1 warning
    [mkdir] Created dir:
/usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/jasper/docs/api

     [copy] Copying 131 files to
/usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/jasper/docs/api

    [mkdir] Created dir:
/usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/servletapi
     [copy] Copying 154 files to
/usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/servletapi

dist:

BUILD SUCCESSFUL

Total time: 2 minutes 22 seconds

The build successful message is nice but i'd like to understand from
where are commin' those warnings !

Any help/clues appreciated.

Regards.

Jean-Luc B :O)




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


Reply via email to