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());
root = new DDBeanRootImpl(this, rootCL.getResource(rootDD));
// @todo make this work with unpacked
entries = new ArrayList();
InputStream is = null;
try {