ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Waugh" <ptwa...@gmail.com>
Subject Re: Ant NOT finding jars even in ant/lib (without classpath=)
Date Sat, 15 Nov 2008 09:01:20 GMT
James,

On Sat, Nov 15, 2008 at 2:55 AM, James Abley <james.abley@gmail.com> wrote:
>
> Does it work on the command line? It may just be an Eclipse configuration
> thing.

Hey thanks.  I did finally figure it out.  It is indeed an Eclipse
configuration thing.

For anyone else who might have this problem, here's how you fix it.

Windows->Preferences, click on Ant, expand click on Runtime
In the right pane click "Restore defaults", and this will add in any
.jar's existing in the ~/.ant/lib directory.

Be sure to fix ANT_HOME again if you are using a more recent Ant then
that included with Eclipse.

Then, in the future, if you add another one then manually add it here,
or it will only be found from the command line ant.

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message