Re: Problems with classloader

2011-07-29 Thread Rainer Noack
Hi, depends on how you launch ant from java. ant-style classpath reordering/resolution ("-lib option", ANT_HOME and so on) is done in the Launcher. If you just call Ant's Main class, you have to add the required jars in your application's (system-)classpath. Cheers Rainer Am 29.07.2011 16

Problems with classloader

2011-07-29 Thread Markus
Hi all, I am launching ant within Java Code. To be more precise I launch it from a Servlet which is invoked from the Servlet Engine Jetty. I want to launch the "mail" task and I obtain the following error: Failed to initialise MIME mail: org.apache.tools.ant.taskdefs.email.MimeMailer This is