private Map buildClassLoaders( final String resource )
throws Exception
{
final ClassLoaderSetMetaData metaData =
buildFromResource( resource );
final ClassLoaderVerifier verifier = new ClassLoaderVerifier();
verifier.verifyClassLoaderSet( metaData );
final LoaderBuilder builder = new LoaderBuilder();
final HashMap predefined = new HashMap();
predefined.put( "*system*", ClassLoader.getSystemClassLoader() );
final File baseDirectory = getBaseDirectory();
final SimpleLoaderResolver resolver =