ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Custom Ant Task with 3rd party library dependency
Date Tue, 03 May 2005 14:09:39 GMT
On Tue, 03 May 2005, Ben Gill <ben_d_gill@hotmail.com> wrote:

> Has anyone got a nice, tidy way of making 3rd party jar files
> available to a custom task?

It should work if your third party task and spring come from the same
place.

The easiest way of course is to bundle them in the same jar.

But things like starting ant with "ant -lib dir-containing-your-jars"
should work as well.

And finally it should work using nested classpath elements on taskdef
unless Ant is able to load your task from a different classloader in
the hierarchy than spring.

Stefan

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


Mime
View raw message