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 task cannot see classpath
Date Mon, 12 Jan 2004 10:44:46 GMT
On Fri, 9 Jan 2004, Steven Melzer <Steven.Melzer@paymentech.com>
wrote:

> i understand now that the classpath isn't "assembled" in the batch
> script, but rather by the class loader within the Launcher class
> within Ant.  however, why doesn't my custom task see that class?  is
> it using a different class loader for custom tasks?

Probably yes (if you are using a custom classpath in your <taskdef>).

> how do i get my custom task to see the weblogic jar?

What does your taskdef look like?

Why do you put weblogic.jar into ANT_HOME/lib but not the jar
containing your custom task?

Stefan

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


Mime
View raw message