try {
Map<String, String> params = new HashMap<String, String>();
params.put("action", "Clear Datastore");
UrlEncodedContent content = new UrlEncodedContent(params);
GenericUrl url = new GenericUrl(host + "/_ah/admin/datastore");
HttpResponse httpResponse = client.buildPostRequest(url, content).execute();
if (!httpResponse.isSuccessStatusCode()) {
throw new LocalDevelopmentDatastoreException(
"Clear Datastore returned http status " + httpResponse.getStatusCode());
}
} catch (IOException e) {