ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarun Ramakrishna Elankath <ta...@webkadai.com>
Subject Re: Problems with installation of Ant on Windows 2k server
Date Sat, 19 Apr 2003 07:56:27 GMT
You have set the PATH to ANT_HOME\bin. Is that a typo ? It should be
%ANT_HOME%\bin.

cheers,
tarun

On Sat, 2003-04-19 at 11:08, Raghu wrote:
> hi all,
> 
> I have read the ant manual and done the following tasks for installing
> ant on windows 2k server,
> The following are the environment variables set
> ANT_HOME = d:\ant
> JAVA_HOME = d:\j2sdk1.4.1
> CLASSPATH=
> %JAVA_HOME%\jre\lib\rt.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\LIB\tools.jar;%ANT_HOME%\lib\;
> 
> PATH = c:\j2sdk1.4.1_02\bin;ANT_HOME\bin\;
> 
> The problem i am facing is
> 1) when i type ant on c drive it says ant is not recognised as an
> internal or external command , even after setting the path..
> 2)when i run ant with the complete path info (c:\>d:\ant\bin\ant.bat),
> its running java command the output is
> Usage: java [-options] class [args...]
>            (to execute a class)
>    or  java -jar [-options] jarfile [args...]
>            (to execute a jar file)
> 
> where options include:
>     -client       to select the "client" VM
>     -server       to select the "server" VM
>     -hotspot      is a synonym for the "client" VM  [deprecated]
>                   The default VM is client.Usage: java [-options] class
> 
> 
>     -cp -classpath <directories and zip/jar files separated by ;>
>                   set search path for application classes and resources
>     -D<name>=<value>
>                   set a system property
>     -verbose[:class|gc|jni]
>                   enable verbose output
>     -version      print product version and exit
>     -showversion  print product version and continue
>     -? -help      print this help message
>     -X            print help on non-standard options
>     -ea[:<packagename>...|:<classname>]
>     -enableassertions[:<packagename>...|:<classname>]
>                   enable assertions
>     -da[:<packagename>...|:<classname>]
>     -disableassertions[:<packagename>...|:<classname>]
>                   disable assertions
>     -esa | -enablesystemassertions
>                   enable system assertions
>     -dsa | -disablesystemassertions
>                   disable system assertions
> 
> Can anybody tellme as to what is wrong here with the installation or the
> 
> environment setup...
> 
> tnx in advance
> Raghu...
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


Mime
View raw message