You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com> on 2002/02/14 14:23:25 UTC

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:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Compilation error with ant...

Posted by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com>.
"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 cks@distributopia.com
> DistribuTopia http://www.distributopia.com
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

OK.

Thank yu for the link.

JLB :O)



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Compilation error with ant...

Posted by "Christopher K. St. John" <ck...@distributopia.com>.
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 cks@distributopia.com
DistribuTopia http://www.distributopia.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Compilation error with ant...

Posted by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com>.
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: root@toolchest.cyber.kodak.com
> > [mailto:root@toolchest.cyber.kodak.com]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:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

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:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Compilation error with ant...

Posted by Martin van den Bemt <ma...@isallineed.org>.
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: root@toolchest.cyber.kodak.com
> [mailto:root@toolchest.cyber.kodak.com]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:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Compilation error with ant...

Posted by "Craig R. McClanahan" <cr...@apache.org>.
The "[javadoc}" at the beginning of each line tells you that this output
is coming from the <javadoc> 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 <be...@toolchest.cyber.kodak.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: Tomcat Users List <to...@jakarta.apache.org>
> 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:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>