Meaningless Drivel is fun!
The moose likes Ant, Maven and Other Build Tools and the fly likes error in run Ant in Jwsdp1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "error in run Ant in Jwsdp1.3" Watch "error in run Ant in Jwsdp1.3" New topic

error in run Ant in Jwsdp1.3

Aiping Zhou

Joined: Sep 06, 2003
Posts: 24
My sys: win 98, j2sdk 1.4,2_01, jwsdp 1.3(Java Web Services Developer Pack 1.3)
Problem: Can not use the new version of Ant. Error message I got is "ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME."

1. I installed Ant 1.6 beta moths ago and runs fine.
2. After I installed jwsdp-1.3 and set my environment variables in <autoexec.bat> like follows:

3. Then, I restarted my pc and opened MS Dos window to check those environment varialbe, I got this:

4. When I try to use ant, error message come out

Does this problem caused by long filename, which is "appathc-ant"? If I change this one to a short, 8.3 path, such as "Ant", will I run into trouble while run jwsdp1.3 samples? How many setting I need to change when I run web service applications?

Any comments will be very helpful. Thanks
[ May 15, 2004: Message edited by: Aiping Zhou ]
I agree. Here's the link:
subject: error in run Ant in Jwsdp1.3
It's not a secret anymore!