> -----Original Message----- > I have the ant.bat and ant in one folder say c:aglets\bin. > I have installed ant in C:\Program Files\ant (AKA: ANT_HOME). > Java is in C:\Program Files\Java\j2sdk_1.4.0_04 (AKA: JAVA_HOME). > Java environment variable PATH = %JAVA_HOME%\bin > Ant environment variable PATH = %ANT_HOME%\bin > > This is the error > C:\java\aglets\bin>ant > Files\apache-anta==a was unexpected at this time. > C:\java\aglets\bin> > > How would I fix this? > > Heather
Ant doesn't like living in a directory that has a space in the name. I would suggest either moving it to a location where your ANT_HOME won't contain a space, or redifining ANT_HOME using the 8.3 version of the directory(ies) that contain spaces. For example: ANT_HOME=c:\progra~1\ant Good luck :) Kajsa Anderson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]