520521522523524525526527528529530
try { Path root = Vfs.lookup(controller.getRootDirectory()); root.removeAll(); controller.stop(); if (controller.destroy()) { String server = "default"; HashMap<String,String> metaDataCopy = new HashMap<String,String>();
472473474475476477478479480481482
try { Path root = Vfs.lookup(controller.getRootDirectory()); root.removeAll(); controller.stop(); if (controller.destroy()) return "undeployed"; else return L.l("'{0}' failed to undeploy application '{1}'",
367368369370371372373374375376377
if (controller == null) return L.l("'{0}' is an unknown controller", controller); try { controller.stop(); return controller.getState(); } catch (Exception e) { log.log(Level.FINE, e.toString(), e);
410411412413414415416417418419420
455456457458459460461462463464465
try { Path root = Vfs.lookup(controller.getRootDirectory()); root.removeAll(); controller.stop(); if (controller.destroy()) { _repository.removeTag(tag, user, message); return "undeployed";