ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbit...@nmt.edu
Subject RE: Problem with Installing Ant == using Windows
Date Thu, 02 Jun 2005 22:41:26 GMT
>> -----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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

It worked like a charm! Thank you ...


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message