Ant works best with the following configuration.

CLASSPATH should be empty.
JAVA_HOME should be set to the root of your JDK installation.
ANT_HOME should be set to the root of your ANT installation
PATH needs to include %ANT_HOME%\bin (Win) resp. $ANT_HOME/bin (Unix)
(typically %JAVA_HOME%\bin resp. $ANT_HOME/bin is also included in PATH)

Try it on a fresh console.

Cheers

Rainer

> -----Original Message-----
> From: tushar S Kulkarni [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 18, 2005 7:55 PM
> To: Ant Users List
> Subject: Re: Re: ANT Configuration
> 
> 
>   I have path set to ANT_HOME\bin
> But still no luck! 
> Also classpath is set to ANT_HOME\lib
> 
> 
> 
> 
> On Wed, 18 May 2005 Jeffrey E Care wrote :
> >The same way you would resolve this error for any other script or
> >executable: make sure that the thing you are trying to run is on the 
> >PATH.
> >
> >--
> >Jeffrey E. Care ([EMAIL PROTECTED])
> >WebSphere Build SWAT Team Lead
> >WebSphere Build Tooling Lead (Project Mantis) 
> >https://w3.opensource.ibm.com/projects/mantis
> >
> >
> >"tushar S Kulkarni" <[EMAIL PROTECTED]> wrote on 05/18/2005 
> >04:06:51
> >AM:
> >
> > >   Hi
> > > I have a problem with configuring ant 1.6.2. I have set 
> ANT_HOME in 
> > > path but still it doesnt work. I get error message 'ant' is not 
> > > recognized as an internal or external command,
> > > operable program or batch file.
> > > How to resolve this error?
> > >
> > >
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to