Check if ANT_HOME points in the right location (root of ANT
installation; spare yourself some trouble by choosing a
folder with no spaces or special characters).
Dawid
P.S. Ant is not a compiler. It is a build tool.
Michael Ji wrote:
hi there:
I tried to setup code compiling environment for my
windows XP box.
I installed Cygwin as my running environment.
Subversion works fine.
But compiler, "ant", isn't working. Gives me the
following error message:
"
Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/tools/ant/
launch/Launcher
"
I do everything as ant manual and even run JWhich to
search the classpath. No result returned.
Any suggestions will be very helpful.
thanks,
Michael Ji,
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com