}else{ log.error("Could not find Descriptor from: " + location);
} else { throw new DeploymentException("Could not find JBI descriptor");
    public void install(String location, Properties props, boolean autoStart) throws DeploymentException {        File tmpDir = AutoDeploymentService.unpackLocation(environmentContext.getTmpDir(),location);        if (tmpDir != null) {            Descriptor root = DescriptorFactory.buildDescriptor(tmpDir);            if (root != null) {                install(tmpDir, props, root, autoStart);            }else{                log.error("Could not find Descriptor from: " + location);            }        }else{            log.warn("location: "+location+" isn't valid");        }    }