ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Melzer, Steven" <>
Subject Custom task cannot see classpath
Date Fri, 09 Jan 2004 19:54:25 GMT
under ant 1.5.x i created a custom task that did some work with weblogic.  i included the weblogic.jar
in the ANT_HOME/lib directory and all worked well.

i upgraded to ant 1.6.0 yesterday, put the weblogic.jar in the ANT_HOME/lib dreictory and
my custom task started failing with a ClassNotFoundException because it could not find a class
from the weblogic.jar package.

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?  how do i get my custom
task to see the weblogic jar?

Learn more about Paymentech's payment processing services at
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary and
confidential information intended only for the use of the recipient(s) named above.  If you
are not the intended recipient, you may not print, distribute, or copy this message or any
attachments.  If you have received this communication in error, please notify the sender by
return e-mail and delete this message and any attachments from your computer.

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

View raw message