ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
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 <> 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

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.


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

View raw message