You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Paul Tomsic <pt...@yahoo.com> on 2002/06/11 17:53:36 UTC

installation help?

I'm getting the following error on installation on a 
SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,ultra-60

I'm trying to install jakarta-ant-1.5Beta2
and I've set my ANT_HOME to /usr/local/ant
and my javahome as well to /usr/java
thoughts?


[cdsamp001 5] ant > ./build.sh install
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: 6 files use or override a deprecated API. 
Recompile with "-deprecation" for details.
1 warning
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml

BUILD FAILED
java.lang.NoClassDefFoundError:
org/xml/sax/ContentHandler
        at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:95)
        at
org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:160)
        at
org.apache.tools.ant.util.JAXPUtils.getParser(JAXPUtils.java:130)
        at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(Compiled
Code)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
        at org.apache.tools.ant.Main.runBuild(Compiled
Code)
        at org.apache.tools.ant.Main.start(Compiled
Code)
        at
org.apache.tools.ant.Main.main(Main.java:234)

Total time: 0 seconds
java.lang.NoClassDefFoundError:
org/xml/sax/ContentHandler
        at
org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:95)
        at
org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:160)
        at
org.apache.tools.ant.util.JAXPUtils.getParser(JAXPUtils.java:130)
        at
org.apache.tools.ant.helper.ProjectHelperImpl.parse(Compiled
Code)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
        at org.apache.tools.ant.Main.runBuild(Compiled
Code)
        at org.apache.tools.ant.Main.start(Compiled
Code)
        at
org.apache.tools.ant.Main.main(Main.java:234)
org/xml/sax/ContentHandler
... Failed Building Ant Distribution !
Bootstrap FAILED
[10:35]

--- ant-user-help@jakarta.apache.org wrote:
> Hi! This is the ezmlm program. I'm managing the
> ant-user@jakarta.apache.org mailing list.
> 
> I'm working for my owner, who can be reached
> at ant-user-owner@jakarta.apache.org.
> 
> Acknowledgment: I have added the address
> 
>    ptomsic@yahoo.com
> 
> to the ant-user mailing list.
> 
> Welcome to ant-user@jakarta.apache.org!
> 
> Please save this message so that you know the
> address you are
> subscribed under, in case you later want to
> unsubscribe or change your
> subscription address.
> 
> 
> --- Administrative commands for the ant-user list
> ---
> 
> I can handle administrative requests automatically.
> Please
> do not send them to the list address! Instead, send
> your message to the correct command address:
> 
> To subscribe to the list, send a message to:
>    <an...@jakarta.apache.org>
> 
> To remove your address from the list, send a message
> to:
>    <an...@jakarta.apache.org>
> 
> Send mail to the following for info and FAQ for this
> list:
>    <an...@jakarta.apache.org>
>    <an...@jakarta.apache.org>
> 
> Similar addresses exist for the digest list:
>    <an...@jakarta.apache.org>
>    <an...@jakarta.apache.org>
> 
> To get messages 123 through 145 (a maximum of 100
> per request), mail:
>    <an...@jakarta.apache.org>
> 
> To get an index with subject and author for messages
> 123-456 , mail:
>    <an...@jakarta.apache.org>
> 
> They are always returned as sets of 100, max 2000
> per request,
> so you'll actually get 100-499.
> 
> To receive all messages with the same subject as
> message 12345,
> send an empty message to:
>    <an...@jakarta.apache.org>
> 
> The messages do not really need to be empty, but I
> will ignore
> their content. Only the ADDRESS you send to is
> important.
> 
> You can start a subscription for an alternate
> address,
> for example "john@host.domain", just add a hyphen
> and your
> address (with '=' instead of '@') after the command
> word:
>
<an...@jakarta.apache.org>
> 
> To stop subscription for this address, mail:
>
<an...@jakarta.apache.org>
> 
> In both cases, I'll send a confirmation message to
> that address. When
> you receive it, simply reply to it to complete your
> subscription.
> 
> If despite following these instructions, you do not
> get the
> desired results, please contact my owner at
> ant-user-owner@jakarta.apache.org. Please be
> patient, my owner is a
> lot slower than I am ;-)
> 
> --- Enclosed is a copy of the request I received.
> 
> Return-Path: <pt...@yahoo.com>
> Received: (qmail 20120 invoked by uid 98); 11 Jun
> 2002 15:43:45 -0000
> Delivered-To:
>
qmvirus-jakarta-ant-user-sc.1023810145.kmdmkimhdjlhlpfffmkn-ptomsic=yahoo.com@nagoya.betaversion.org
> X-Antivirus: nagoya (v4198 created Apr 24 2002)
> Received: (qmail 19783 invoked from network); 11 Jun
> 2002 15:43:41 -0000
> Received: from daedalus.apache.org (HELO apache.org)
> (63.251.56.142)
>   by nagoya.betaversion.org with SMTP; 11 Jun 2002
> 15:43:41 -0000
> Received: (qmail 71412 invoked by uid 500); 11 Jun
> 2002 15:43:37 -0000
> Delivered-To:
>
apmail-jakarta-ant-user-sc.1023810145.kmdmkimhdjlhlpfffmkn-ptomsic=yahoo.com@jakarta.apache.org
> Received: (qmail 71403 invoked from network); 11 Jun
> 2002 15:43:37 -0000
> Received: from web13906.mail.yahoo.com
> (216.136.175.69)
>   by daedalus.apache.org with SMTP; 11 Jun 2002
> 15:43:37 -0000
> Message-ID:
> <20...@web13906.mail.yahoo.com>
> Received: from [63.115.248.60] by
> web13906.mail.yahoo.com via HTTP; Tue, 11 Jun 2002
> 08:43:40 PDT
> Date: Tue, 11 Jun 2002 08:43:40 -0700 (PDT)
> From: Paul Tomsic <pt...@yahoo.com>
> Subject: Re: confirm subscribe to
> ant-user@jakarta.apache.org
> To:
>
ant-user-sc.1023810145.kmdmkimhdjlhlpfffmkn-ptomsic=yahoo.com@jakarta.apache.org
> In-Reply-To:
> <10...@jakarta.apache.org>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
> 
> 
> --- ant-user-help@jakarta.apache.org wrote:
> > Hi! This is the ezmlm program. I'm managing the
> > ant-user@jakarta.apache.org mailing list.
> > 
> > I'm working for my owner, who can be reached
> > at ant-user-owner@jakarta.apache.org.
> > 
> > To confirm that you would like
> > 
> >    ptomsic@yahoo.com
> > 
> > added to the ant-user mailing list, please send
> > an empty reply to this address:
> > 
> >   
> >
>
ant-user-sc.1023810145.kmdmkimhdjlhlpfffmkn-ptomsic=yahoo.com@jakarta.apache.org
> > 
> > Usually, this happens when you just hit the
> "reply"
> > button.
> > If this does not work, simply copy the address and
> > paste it into
> > the "To:" field of a new message.
> > 
> > or click here:
> > 
> >
>
mailto:ant-user-sc.1023810145.kmdmkimhdjlhlpfffmkn-ptomsic=yahoo.com@jakarta.apache.org
> > 
> > This confirmation serves two purposes. First, it
> > verifies that I am able
> > to get mail through to you. Second, it protects
> you
> > in case someone
> > forges a subscription request in your name.
> > 
> > Some mail programs are broken and cannot handle
> long
> > addresses. If you
> > cannot reply to this request, instead send a
> message
> > to
> > <an...@jakarta.apache.org> and put the
> > entire address listed above into the "Subject:"
> > line.
> > 
> > 
> > --- Administrative commands for the ant-user list
> > ---
> > 
> > I can handle administrative requests
> automatically.
> > Please
> > do not send them to the list address! Instead,
> send
> > your message to the correct command address:
> > 
> > To subscribe to the list, send a message to:
> >    <an...@jakarta.apache.org>
> > 
> > To remove your address from the list, send a
> message
> > to:
> >    <an...@jakarta.apache.org>
> > 
> > Send mail to the following for info and FAQ for
> this
> > list:
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: installation help?

Posted by Diane Holt <ho...@yahoo.com>.
--- Paul Tomsic <pt...@yahoo.com> wrote:
> I'm trying to install jakarta-ant-1.5Beta2
> [snip]
> [cdsamp001 5] ant > ./build.sh install

If installing Ant from the binary release, you don't run build.sh --
that's used to build Ant from source.

Please try following the instructions given in the "Installing Ant"
section of the Ant1.5 manual:
  http://jakarta.apache.org/ant/manual/index.html

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>