On 1/19/11 2:54 PM, Michael Ludwig wrote: > > There was another thread today where the same issue arose: > > Mail task with mail.jar & activation.jar out of lib folder > > r L 19.01.11 10:31+0100 Patrick Martin 57 Mail task […] > L 19.01.11 11:19+0100 Patrick Martin 87 ├─> > F 19.01.11 13:51+0100 Michael Ludwig 75 └─> The classpath attribute or nested element of taskdef works but cannot solve the case of some classes loaded by factories of the JVM (JDBC drivers, mail.jar, activation.jar). These classes have to be either in the ant startup environment. See http://ant.apache.org/manual/running.html#libs
Or the classloader task must be used to add the jars to the classloader so that ant classes can access them. As Peter Reilly wrote the URL from which this classloader task can be downloaded is : http://enitsys.sourceforge.net/ant-classloadertask/ Regards, Antoine --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org