You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Zhao, Jasmine" <zh...@clarity.com> on 2001/09/06 09:23:22 UTC

Installation problem

Hi
I just downloaded Ant version1.4 src files from the net
When executing the build.sh -Ddist=<directory> dist command to build ant,I
get an error: Execute failed: java.io.IOException: Cannot locate antRun
script: Property 'ant.home' not found. I do not have ant.jar file in my lib
directory as party of my download. Does anyone have encountered the same
problem? 
Your help is greatly appreciated.

Regards,
Jasmin




-------------------------------------------------------------------------
This message may contain privileged and/or confidential information subject
to a confidentiality agreement or copyright material of Clarity
International Ltd or third parties. You should only re-transmit, distribute
or commercialise the material if you are authorised to do so. 
If you are not an authorised recipient of this email, please contact Clarity
International Ltd immediately by return email or by telephone on +61-2-9925
5000. 
In such case, you may not read, print, store, copy or deliver this message
to anyone, and you should not act in reliance on this email or any
attachment to it. 
Clarity provides no warranty that the material contained in this email or
any attachment to it is free from any virus, defect or error. Opinions in
this message are those of the sender and unless stated otherwise, are not
endorsed by Clarity.

Re: Installation problem

Posted by T Master <tm...@iknowledgeinc.com>.
Do this:

download ant.jar
and the optional.jar too.

Put the optional.jar in the ant_home/lib directory  (this allows it to be in
ants classapth).

now do the following:
ant.sh

If all worked, you should get an error about there being no build.xml file
(default build file name).

T Master.


----- Original Message -----
From: "Diane Holt" <ho...@yahoo.com>
To: <an...@jakarta.apache.org>
Sent: Thursday, September 06, 2001 11:51 AM
Subject: Re: Installation problem


> Are you just trying to install Ant, or do you really want to build it from
> scratch?  If you just want to install it, you don't need to be running
> build.sh -- you just need to pick of the Ant jars.
>
> Diane
>
> --- "Zhao, Jasmine" <zh...@clarity.com> wrote:
> > Hi
> > I just downloaded Ant version1.4 src files from the net
> > When executing the build.sh -Ddist=<directory> dist command to build
> > ant,I
> > get an error: Execute failed: java.io.IOException: Cannot locate antRun
> > script: Property 'ant.home' not found. I do not have ant.jar file in my
> > lib
> > directory as party of my download. Does anyone have encountered the same
> > problem?
> > Your help is greatly appreciated.
> >
> > Regards,
> > Jasmin
> >
> >
> >
> >
> >
> -------------------------------------------------------------------------
> > This message may contain privileged and/or confidential information
> > subject
> > to a confidentiality agreement or copyright material of Clarity
> > International Ltd or third parties. You should only re-transmit,
> > distribute
> > or commercialise the material if you are authorised to do so.
> > If you are not an authorised recipient of this email, please contact
> > Clarity
> > International Ltd immediately by return email or by telephone on
> > +61-2-9925
> > 5000.
> > In such case, you may not read, print, store, copy or deliver this
> > message
> > to anyone, and you should not act in reliance on this email or any
> > attachment to it.
> > Clarity provides no warranty that the material contained in this email
> > or
> > any attachment to it is free from any virus, defect or error. Opinions
> > in
> > this message are those of the sender and unless stated otherwise, are
> > not
> > endorsed by Clarity.
> >
>
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
> http://im.yahoo.com
>


Re: Installation problem

Posted by Diane Holt <ho...@yahoo.com>.
Are you just trying to install Ant, or do you really want to build it from
scratch?  If you just want to install it, you don't need to be running
build.sh -- you just need to pick of the Ant jars.

Diane

--- "Zhao, Jasmine" <zh...@clarity.com> wrote:
> Hi
> I just downloaded Ant version1.4 src files from the net
> When executing the build.sh -Ddist=<directory> dist command to build
> ant,I
> get an error: Execute failed: java.io.IOException: Cannot locate antRun
> script: Property 'ant.home' not found. I do not have ant.jar file in my
> lib
> directory as party of my download. Does anyone have encountered the same
> problem? 
> Your help is greatly appreciated.
> 
> Regards,
> Jasmin
> 
> 
> 
> 
>
-------------------------------------------------------------------------
> This message may contain privileged and/or confidential information
> subject
> to a confidentiality agreement or copyright material of Clarity
> International Ltd or third parties. You should only re-transmit,
> distribute
> or commercialise the material if you are authorised to do so. 
> If you are not an authorised recipient of this email, please contact
> Clarity
> International Ltd immediately by return email or by telephone on
> +61-2-9925
> 5000. 
> In such case, you may not read, print, store, copy or deliver this
> message
> to anyone, and you should not act in reliance on this email or any
> attachment to it. 
> Clarity provides no warranty that the material contained in this email
> or
> any attachment to it is free from any virus, defect or error. Opinions
> in
> this message are those of the sender and unless stated otherwise, are
> not
> endorsed by Clarity.
> 


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



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com