UrlSet urlSet = new UrlSet(classLoader); urlSet = urlSet.exclude(ClassLoader.getSystemClassLoader().getParent()); urlSet = urlSet.excludeJavaExtDirs(); urlSet = urlSet.excludeJavaEndorsedDirs(); urlSet = urlSet.excludeJavaHome(); urlSet = urlSet.excludePaths(System.getProperty("sun.boot.class.path", "")); urlSet = urlSet.exclude(".*?/JavaVM.framework/.*"); urlSet = urlSet.exclude(".*?/activemq-(core|ra)-[\\d.]+.jar(!/)?");@author David Blevins @version $Rev$ $Date$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|