usage();
System.exit(1);
}
// Connect with the service and authenticate
WebmasterToolsService myService =
new WebmasterToolsService("exampleCo-exampleApp-1");
try {
myService.setUserCredentials(userName, userPassword);
} catch (AuthenticationException e) {
System.out.println("The username or password entered are not valid");
System.exit(1);
}
System.out.println("Running with user: " + userName);