Re: Compilation error with ant...

2002-02-14 Thread Craig R. McClanahan

The "[javadoc}" at the beginning of each line tells you that this output
is coming from the  task in the Ant build.xml script, which
(surprise surprise :-) runs JavaDoc.  JavaDoc will complain like this when
your code has a reference to classes external to the package, when it
doesn't know how to create the corresponding hyperlinks.  It just issues a
warning and makes those references static text instead.

The BUILD SUCCESSFUL message is the important part.

Craig


On Thu, 14 Feb 2002, Jean-Luc BEAUDET wrote:

> Date: Thu, 14 Feb 2002 14:23:25 +0100
> From: Jean-Luc BEAUDET <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Compilation error with ant...
>
> 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:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Compilation error with ant...

2002-02-14 Thread Larry Meadors

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:   
For additional commands: 
Troubles with the list: 





Re: Compilation error with ant...

2002-02-14 Thread Jean-Luc BEAUDET

"Christopher K. St. John" a écrit :

> Jean-Luc BEAUDET wrote:
> >
> > When i compil tomcat 4.0.2 with ant, i've got 2 set of warnings:
> > [javadoc] javadoc: warning - Tag @see: Class or Package not found:
> >
>
>  http://java.sun.com/j2se/javadoc/faq.html#namenotreferenced
>
> --
> Christopher St. John [EMAIL PROTECTED]
> DistribuTopia http://www.distributopia.com
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

OK.

Thank yu for the link.

JLB :O)



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Compilation error with ant...

2002-02-14 Thread Jean-Luc BEAUDET

Martin van den Bemt a écrit :

> javadoc is rather verbose while generating (in this case it doesn't know
> where the javadoc of the jdk can be found..)
>
> Mvgr,
> Martin
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET
> > Sent: Thursday, February 14, 2002 14:23
> > To: Tomcat Users List
> > Subject: Compilation error with ant...
> >
> >
> > 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/stylesh
> > eet.css...
> >
> >   [javadoc] 3 warnings
> > [mkdir] Created dir:
> > /usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/catal
> > ina/docs/api
> >
> >  [copy] Copying 374 files to
> > /usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/catal
> > ina/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/jaspe
> > r/docs/api
> >
> >  [copy] Copying 131 files to
> > /usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/jaspe
> > r/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:   
> > For additional commands: 
> > Troubles with the list: 
> >
> >
>
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 

Well, thank yu for yur answer, Martin.

But it sounds amazing cause in the same shell when i enter javadoc
i've got a nice screen full of informations..

Maybe the Makefile got a pb ???

Any ideas ?

Jean-Luc B :O)



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Compilation error with ant...

2002-02-14 Thread Martin van den Bemt

javadoc is rather verbose while generating (in this case it doesn't know
where the javadoc of the jdk can be found..)

Mvgr,
Martin

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET
> Sent: Thursday, February 14, 2002 14:23
> To: Tomcat Users List
> Subject: Compilation error with ant...
>
>
> 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/stylesh
> eet.css...
>
>   [javadoc] 3 warnings
> [mkdir] Created dir:
> /usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/catal
> ina/docs/api
>
>  [copy] Copying 374 files to
> /usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/catal
> ina/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/jaspe
> r/docs/api
>
>  [copy] Copying 131 files to
> /usr/local/jakarta-tomcat-4.0.2-src/dist/webapps/tomcat-docs/jaspe
> r/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:   
> For additional commands: 
> Troubles with the list: 
>
>


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Compilation error with ant...

2002-02-14 Thread Christopher K. St. John

Jean-Luc BEAUDET wrote:
> 
> When i compil tomcat 4.0.2 with ant, i've got 2 set of warnings:
> [javadoc] javadoc: warning - Tag @see: Class or Package not found:
>

 http://java.sun.com/j2se/javadoc/faq.html#namenotreferenced

-- 
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: