ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damjan Perenic <>
Subject Re: Does mail task work on Eclipse on Mac OSX 10.6?
Date Fri, 11 Sep 2009 17:01:27 GMT
On Fri, Sep 11, 2009 at 8:06 PM, Rebhan, Gilbert
<> wrote:
> -----Original Message-----
> From: Damjan Perenic []
> Sent: Friday, September 11, 2009 2:00 PM
> To: Ant Users List
> Subject: Re: Does mail task work on Eclipse on Mac OSX 10.6?
> /*
> I haven't tried Mac OS X 10.6 yet, but this is an issue also under
> Leopard. Built-in ant does not load optional libraries at all. It does
> not matter where you put them. I reported this issue to Apple with
> testcases one year ago (rdar 6239066), but it hasn't been solved yet
> and is still present on Leopard.
> In my ~/.ant I have libraries for SSH an perforce. With built-in ant I
> am not able to run any task requiring optional libraries.
> My workaround on Leopard is:
> I unpacked ant distribution 1.7.1 somewhere on my home. I set
> environment variable ANT_HOME pointing to that directory and it works.
> It finds all optional libraries.
> */
> so it works with  =
> untar ant binary to f.e. /usr/local/ant171
> change the Eclipse $ANT_HOME via =
> Window|Preferences|Ant|Runtime|AntHome Entries|AntHome...
> and choose  /usr/local/ant171 ?
> or does it mean Ant ain't usable with Eclipse on Mac OS, only
> outside Eclipse ?

Actually, I haven't tried with Eclipse. That is built-in ant behaviour
from the command line. If Eclipse on Mac OS X is using Mac OS X
version, then yes, I think that workaround should work.

I am running ant from command line and it does not load optional
libraries unless I set ANT_HOME env. variable to the one I downloaded
from the apache.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message