Man that was sloppy on my part...let's try that again.
=================== 

For UNIX:
ANT_HOME=/ant_directory
JAVA_HOME=/java_directory
PATH=$PATH:$ANT_HOME/bin:$JAVA_HOME/bin

For Windows:
ANT_HOME=c:\ant_directory (or wherever) 
JAVA_HOME=c:\java_directory (or wherever) 
PATH=%ANT_HOME%\bin;%JAVA_HOME%\bin

_____________________________________
Rich Harris
Release/Configuration Engineer
[EMAIL PROTECTED]
650-616-6866 
 
Shopping.com(tm), Inc.
Find. Compare. Buy.
www.shopping.com


-----Original Message-----
From: Rich Harris 
Sent: Wednesday, May 18, 2005 12:03 PM
To: 'Ant Users List'; 'tushar S Kulkarni'
Subject: RE: Re: ANT Configuration

Which OS is this?

For UNIX:
ANT_HOME=/ant_directory
JAVA_HOME=/java_directory
PATH=$PATH:$ANT_HOME:$JAVA_HOME

For Windows:
ANT_HOME=c:\ant_directory (or wherever) JAVA_HOME=c:\java_directory (or 
wherever) PATH=%ANT_HOME%\bin;%JAVA_HOME\bin%

Then try it in the shell that those are set in.

If that doesn't work, no idea.

R
_____________________________________
Rich Harris
Release/Configuration Engineer
[EMAIL PROTECTED]
650-616-6866 
 
Shopping.com(tm), Inc.
Find. Compare. Buy.
www.shopping.com


-----Original Message-----
From: tushar S Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 10:55 AM
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