protected static void addClientConfToClasspath(String s) {
try
{
// wrap the classloader upfront to allow inclusion of the client.jar
JBossWSTestHelper helper = new JBossWSTestHelper();
ClassLoader parent = Thread.currentThread().getContextClassLoader();
URLClassLoader replacement = new URLClassLoader(new URL[] {helper.getArchiveURL(s)}, parent);
Thread.currentThread().setContextClassLoader(replacement);
}
catch (MalformedURLException e)
{