https://issues.apache.org/bugzilla/show_bug.cgi?id=28228
--- Comment #17 from Mario Frasca <[email protected]> 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 classloader. 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: http://forums.sun.com/thread.jspa?threadID=300557&start=49 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
