return successfulDeploys;
    public static void deployFromURLsGiven(OptionSet opts,                                           ProcessCompound target) {        Context nameContext = null;        Enumeration names = opts.names.elements();        String url = "";        String name = "";        //number of anonymous deploys        int counter = 0;        //so far so good        errorDeploy = false;        for (Enumeration e = opts.configs.elements(); e.hasMoreElements();) {            url = (String) e.nextElement();            name = (String) names.nextElement();            if (name != null) {                nameContext = new ContextImpl();                nameContext.put("sfProcessComponentName", name);            } else {                name = "unnamed#" + counter++;            }            try {                deployFromURL(url, name, target, nameContext);            } catch (SmartFrogException sfex) {                errorDeploy = true;                sfex.put("URL:", url);                sfex.put("Component Name:", name);                Logger.log(MessageUtil.formatMessage(MSG_ERR_DEPLOY_FROM_URL,                        url, name), sfex);                if (e.hasMoreElements()) {                    Logger.log(MessageUtil.                            formatMessage(MSG_CONT_OTHER_DEPLOY));                }            } catch (Exception ex) {                errorDeploy = true;                Logger.log(MessageUtil.formatMessage(MSG_ERR_DEPLOY_FROM_URL,                        url, name), ex);                if (e.hasMoreElements()) {                    Logger.log(MessageUtil.                            formatMessage(MSG_CONT_OTHER_DEPLOY));                }            }        }    }