Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Custom Ant Task with 3rd party library dependency

Custom Ant Task with 3rd party library dependency

2005-05-03       - By Ben Gill
Reply:     1     2     3     4     5     6  

Hi,

My custom Ant task relies on the Spring jar files, but whatever I try, I get
a class not found exception..

I read a lot of posts on this and saw Eric's article here:

http://www.fawcette.com/javapro/2003_02/magazine/features/ehatcher/

But I cannot believe I have to spawn off a JVM to pick up the spring jar's
do I?

and I really dont want to force any user that uses my task to copy the jar's
into their $ANT_HOME/lib...

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

Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.