ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 28228] <classloader> task
Date Wed, 07 Oct 2009 11:31:54 GMT

--- Comment #17 from Mario Frasca <> 2009-10-07 04:31:45 PDT ---
I came across this request while trying to solve a problem I was having with
the ftp task: the class implementing the task itself is loaded, but a library
on which the task relies is not found.  I am executing a ant.jar (java -jar
ant.jar) so I can't specify the classpath (I know I can invoke the Main class
from that jar adding all jars I need to the classpath, but I like the compact
invocation form).

I tried the classloader thing described here (actually the version in SVN) but
it does not do much about my issue, at least not until I add some code that
would hack the global classpath, adding the jars there, not the ant

would it be an idea to add an option (maybe a reserved name?) to have this task
alter the global classpath?

a working way to alter the classpath (it's what I've been successfully using)
is described here:

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message