From: conficio <KajKandler@Conficio.com> - 2009-04-24 21:47:12
|
Hi there, I hope someone has solved the same problem before. I write an ant task that calls a web service suing apache cxf. I define the classpath in the taskdef and for the exclusive tasks this works fine. However Java 1.6 does include the JAX-WS libraries and CXF wants to use its own. So I need to make sure that my taskdef defines its classapth to overwrite the ant classpath. I have read the FAQ http://ant.apache.org/faq.html regarding junit and style tasks, etc. If I understand correctly this does mean that the ant classloader always delegates first and so finds the JRE classes in classes.jar. Is there any way to change that behavior and have my taskdef overwrite the Global class loader? Kaj -- View this message in context: http://www.nabble.com/How-to-order-the-classpath-for-a-custom-ant-task-tp23225386p23225386.html Sent from the Ant Contrib mailing list archive at Nabble.com. |