Re: Novice: Getting Started
Posted By:
Roseanne_Zhang
Posted On:
Tuesday, August 27, 2002 02:40 PM
I run ant in dos/cygwin/unix, no problems. All you need to set are ANT_HOME and JAVA_HOME, then add %ANT_HOME%/bin into your path. Yes, foward slash even in windows. Only place you cannot use foward slash is inside dos console window itself.
Re: Novice: Getting Started
Posted By:
Roseanne_Zhang
Posted On:
Tuesday, August 27, 2002 02:39 PM
I run ant in dos/cygwin/unix, no problems. All you need to set are ANT_HOME and JAVA_HOME, then add %ANT_HOME%/bin into your path. Yes, foward slash even in windows. Only place you cannot use foward slash is inside dos console window itself.
Re: Novice: Getting Started
Posted By:
tom_carrier
Posted On:
Monday, August 26, 2002 12:41 PM
I answered my own question.
I went to the Ant Home page and found a patch for an Ant1.5 that has to do with using Dos syntax for path and classpath and downloaded it.
In my Build.xml file I changed all path syntax to Unix.
(Forward Slash, instead of backslash).
Now I can execute Ant successfully from Cygwin.
I still cannot execute Ant from a DOS prompt, and I do not see any doc saying that you have to use Cygwin if your Op System is Windows.
Is anybody out there using Ant from Windows without Cygwin?
If yes, how do you execute Ant from the DOS prompt ? I see an Ant.bat file, but that does not do anything.
Thanks for your help !