use of com.centurylink.mdw.plugin.project.assembly.ProjectUpdater in project mdw-designer by CenturyLinkCloud.
the class AdminUi method removeFrom.
public boolean removeFrom(WorkflowProject project, IProgressMonitor monitor) throws ExtensionModuleException, InterruptedException {
monitor.worked(5);
try {
ProjectUpdater updater = new ProjectUpdater(project, MdwPlugin.getSettings());
updater.removeWarLib("mdw-admin.war", new SubProgressMonitor(monitor, 90));
monitor.worked(5);
} catch (InterruptedException ex) {
throw ex;
} catch (Exception ex) {
throw new ExtensionModuleException(ex.getMessage(), ex);
}
return true;
}
Aggregations