see what other issues I can run into :)
Brian
2011/8/23 Santanu Basu
> Brian,
>
> How are you opening command prompt? From start->run by typing 'command' or
> by typing 'cmd'?
>
> Thanks,
>
>
>
> From:
> Brian FitzGerald
> To:
>
.6.0_23"
> >
> > Not sure if this might help you original issue though. Did you try to
> comment the echo off line (precede with "rem ") in ant.bat / ant.cmd under
> ANT_HOME/bin? Maybe, if you comment that, you will see on the console what
> executable it is tryin
vePathPost
C:\AntTest>if "C:\Users\Brian" == "" goto userProfilePost
C:\AntTest>if "C:\Users\Brian" == "" goto userProfilePost
C:\AntTest>if exist "C:\Users\Brian\antrc_post.bat" call
"C:\Users\Brian\antrc_post.bat"
C:\AntTest>
Thanks for the help guys... this is what I got:
WITH QUOTES:
C:\Users\Brian>cd C:\AntTest
C:\AntTest>set JAVA_HOME="C:\Program Files\Java\jdk.1.6.0_23"
C:\AntTest>set ANT_HOME="C:\Ant"
C:\AntTest>%ANT_HOME%\bin\ant
The syntax of the command is incorrect.
WITHOUT QUOTES:
C:\Users\Brian>cd C:\AntTe
Thank you for the response, Santanu.
> Do you have the build.xml in the directory from where you are running ant?
> How you are calling ant?
I didn't before, but since you mentioned it I grabbed a simple hello world
build file and put that in a directory called C:\AntTest -- I am calling
Ant fro
I have set JAVA_HOME and ANT_HOME environment variables as well as adding
%JAVA_HOME%\bin and %ANT_HOME\bin to the PATH environment variable.
When I echo JAVA_HOME, I get the value I expect:
C:\Program Files\Java\jdk.1.6.0_23
When I echo ANT_HOME I get the value I expect:
C:\Program Files\Apache