You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Karr, David" <Da...@wamu.net> on 2004/03/15 04:12:56 UTC

Requiring jar files in classpath (or $ANT_HOME/lib) for taskdefs

I'm not sure whether there's a real solution to this, but I'm starting
to see a headache with requiring that classes required by tasks defined
with "taskdef" are either in the global classpath, or stored in jar
files copied to $ANT_HOME/lib.

In the case of some tasks defined for WebLogic, there are numerous jar
files that have to be set up for this.  The way this works, you can't
just set a "classpath" nested element for "taskdef", which would be much
more convenient.

It makes it a little awkward to set up a reproducible build environment
if you have to specify numerous jar files that have to be copied to
$ANT_HOME/lib first.  This isn't even mentioning any issues with
versioning of those jar files.  As tasks defined with taskdef get more
complicated, this just gets worse.

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