You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Peter Shankey <sh...@netscape.net> on 2001/08/19 13:27:01 UTC

javadoc problem while building ant 1.3

Solaris 8 sparc
Java 2 SDK, Standard Edition Version 1.3.1 
Java API for XML Processing Version 1.1

While trying to build ant using
./build.sh install

the system runs through some messages whichlook ok then


  [javadoc] Loading source files for package org.apache.tools.ant.util...
  [javadoc] Loading source files for package org.apache.tools.ant.util.regexp..
  [javadoc] Loading source files for package org.apache.tools.mail...
  [javadoc] Loading source files for package org.apache.tools.tar...
  [javadoc] Constructing Javadoc information...
  [javadoc] /u80/w1/jh/jakarta_ant/src/main/org/apache/tools/ant/RuntimeConfigu
able.java:59: Class org.xml.sax.AttributeList not found in import.
  [javadoc] import org.xml.sax.AttributeList;
  [javadoc]        ^
  [javadoc] /u80/w1/jh/jakarta_ant/src/main/org/apache/tools/ant/RuntimeConfigu
able.java:60: Class org.xml.sax.helpers.AttributeListImpl not found in import.
  [javadoc] import org.xml.sax.helpers.AttributeListImpl;
  [javadoc]        ^
  [javadoc] /u80/w1/jh/jakarta_ant/src/main/org/apache/tools/ant/ProjectHelper.
ava:59: Package org.xml.sax not found in import.

~~~ many more simular messages ~~~

However the build does complete, and it ends with

BUILD SUCCESSFUL

Total time: 45 seconds
 
I searched the bug db but did not see anything.
My goal is to build tomcat 3.2.3
I would guess my main problem is I am very new to JAVA and ant, and I am missing something easy. Unfortuantely I am in the process of learning and building troubleshooting skills so any help would help.

thanks for your time
Pete

 


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


Re: javadoc problem while building ant 1.3

Posted by Stephane Bailliez <sb...@apache.org>.
----- Original Message -----
From: "Peter Shankey" <sh...@netscape.net>

> BUILD SUCCESSFUL
>
> Total time: 45 seconds
>
> I searched the bug db but did not see anything.
> My goal is to build tomcat 3.2.3
> I would guess my main problem is I am very new to JAVA and ant, and I am
missing something easy. Unfortuantely I am in the process of learning and
building troubleshooting skills so any help would help.

It is normal. Javadoc searches for links related to the mentioned classes
but cannot find them. It is normal since it's third party API, we don't have
the javadoc here nor the sources related to these third parties. It does not
prevent from building javadoc, there just won't be links to these external
APIs.

No sweat.

Stephane


Re: javadoc problem while building ant 1.3

Posted by "Frederick N. Brier" <fb...@multideck.com>.
I believe that you are missing some XML jars.  Go to:

http://java.sun.com/xml/xml_jaxp.html

or the next page (download):

http://java.sun.com/xml/download.html

and snag the reference implementation.  Put the jars from the distribution 
in the ant/lib directory.  That was my problem.  Anytime you run into 
"class not found in import" messages it is because the class or the jar 
that contains the class is not in the path.

Fred.

At 07:27 AM 8/19/2001, you wrote:
>Solaris 8 sparc
>Java 2 SDK, Standard Edition Version 1.3.1
>Java API for XML Processing Version 1.1
>
>While trying to build ant using
>./build.sh install
>
>the system runs through some messages whichlook ok then
>
>
>   [javadoc] Loading source files for package org.apache.tools.ant.util...
>   [javadoc] Loading source files for package 
> org.apache.tools.ant.util.regexp..
>   [javadoc] Loading source files for package org.apache.tools.mail...
>   [javadoc] Loading source files for package org.apache.tools.tar...
>   [javadoc] Constructing Javadoc information...
>   [javadoc] 
> /u80/w1/jh/jakarta_ant/src/main/org/apache/tools/ant/RuntimeConfigu
>able.java:59: Class org.xml.sax.AttributeList not found in import.
>   [javadoc] import org.xml.sax.AttributeList;
>   [javadoc]        ^
>   [javadoc] 
> /u80/w1/jh/jakarta_ant/src/main/org/apache/tools/ant/RuntimeConfigu
>able.java:60: Class org.xml.sax.helpers.AttributeListImpl not found in import.
>   [javadoc] import org.xml.sax.helpers.AttributeListImpl;
>   [javadoc]        ^
>   [javadoc] 
> /u80/w1/jh/jakarta_ant/src/main/org/apache/tools/ant/ProjectHelper.
>ava:59: Package org.xml.sax not found in import.
>
>~~~ many more simular messages ~~~
>
>However the build does complete, and it ends with
>
>BUILD SUCCESSFUL
>
>Total time: 45 seconds
>
>I searched the bug db but did not see anything.
>My goal is to build tomcat 3.2.3
>I would guess my main problem is I am very new to JAVA and ant, and I am 
>missing something easy. Unfortuantely I am in the process of learning and 
>building troubleshooting skills so any help would help.
>
>thanks for your time
>Pete
>
>
>
>
>__________________________________________________________________
>Your favorite stores, helpful shopping tools and great gift ideas. 
>Experience the convenience of buying online with Shop@Netscape! 
>http://shopnow.netscape.com/
>
>Get your own FREE, personal Netscape Mail account today at 
>http://webmail.netscape.com/