jakarta-ant-1.3.1a==a was unexpected at this time

Hi, developers:When I tried to run examples of j2ee tutorial, I typed "ant all" underj2eetutorial/examples directory but it reported such error:jakarta-ant-1.3.1a==a was unexpected at this timeAny help should be highly appreciated.Jason
[278 byte] By [JasonGao] at [2007-9-27 18:10:40]
# 1
I have the same problem, except the message is as follows:"Files\Apache was unexpected at this time."I'm running win 2000...
pulse1014 at 2007-7-6 14:35:22 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

Figured the problem out... atleast for win 2k... ant doesn't like being

inside a directory that has spaces in the name.

For example:

when I had problems I installed ant in

c:\program files\apache\jakarta-ant1.3.

when I moved ant to c:\jakarta-ant1.3 (and made changes to the environment variable), it worked fine...

pulse1014 at 2007-7-6 14:35:22 > top of Java-index,Other Topics,Patterns & OO Design...