protected AbstractDeployable(ModuleType type, URL moduleURL, String rootDD) throws DDBeanCreateException {
this.type = type;
this.moduleURL = moduleURL;
rootCL = new URLClassLoader(new URL[] {moduleURL}, Thread.currentThread().getContextClassLoader());
UrlResourceFinder resourceFinder = new UrlResourceFinder(new URL[] {moduleURL});
root = new DDBeanRootImpl(this, resourceFinder.findResource(rootDD));
// @todo make this work with unpacked
entries = new ArrayList();
InputStream is = null;
try {