// Ping server
HTTPClient httpClient = new HTTPClient();
httpClient.setServerURL(url);
httpClient.getServerProtocol();
return installNewManager(new RemoteRepositoryManager(url), url);
}
catch (UnauthorizedException e) {
// FIXME: handle authentication
writeError("Not authorized to access the server");
}