please try with different ANT_HOME and PATH:
export ANT_HOME=/usr/ant/apache-ant-1.8.4
export PATH=${PATH}:${ANT_HOME}/bin
I would also run
ant -diagnostics
--glenn
On Sun, Jun 17, 2012 at 8:30 PM, Jorge Escudero wrote:
> When I type "ant":
>
> root@debian6:~# ant
> Exception in thread "main
When I type "ant":
root@debian6:~# ant
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/Launcher
Caused by: java.lang.ClassNotFoundException:
org.apache.tools.ant.launch.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at
I'm running Ant 1.8.2. I have a line in my build file to override the
destination directory:
This is in my compile target. If I replace "-d output1.6" with -version or
-verbose, the command works, but if I use
something like -cp . or -d output