addUndoTask(new ControlCommand.UndoTask(
"Removing server-installed marker file and management user and reverting to original standalone-full.xml") {
public void performUndoWork() throws Exception {
getServerInstalledMarkerFile(getBaseDir()).delete();
mgmtUserPropertiesReverter.revert();
standaloneXmlFileReverter.revert();
}
});
org.apache.commons.exec.CommandLine commandLine = getCommandLine("rhq-installer");
if (ServerInstallerAction.UPGRADE == serverInstallerAction) {