I solved it. It turned out it was a problem with my classpath.
I had a ant-1.7.0.jar in my classpath, and that was conflicting with my
installation.
On Mar 14, 2011, at 15:01 , wolfgang haefelinger wrote:
> Try also 'type -a'. For example, on my machine
>
> $ type -a ant
> ant is /opt/local/b
Try also 'type -a'. For example, on my machine
$ type -a ant
ant is /opt/local/bin/ant
ant is /usr/bin/ant
Then run the one supposed to be 1.8.2. If this still runs 1.7.2, try
something like
/bin/sh -x /path/to/ant/bin/ant [args]
to see what actually happens.
// Wolfgang
On Mon, Mar 14, 2011
Hello Tiago,
please check what the value of ANT_HOME is. A version of ant is shipping
with MacOS with a script under /usr/bin/ant if I remember correctly.
You should add these lines to your .profile
export ANT_HOME=[install location of ANT 1.8.2]
export PATH=$ANT_HOME/bin:$PATH
changing the p
An error with the subject, it should read "Problems with apache ant"
On Mar 14, 2011, at 14:08 , Tiago Veloso wrote:
> Hi everyone,
>
> I am running Mac OS 10.6.6. Here I have apache ant 1.7.0 installed.
>
> I am trying to update to ant 1.8.2.
>
> But every way I have tried to install ant 1.8.