It wasn't immediately obvious on how to get the 1.3.8 datastore delete functionality working with a Java app so I played around with it, got it working and thought I'd share how I did it for those java devs that cringe at the sight of python :)
lets assume you have an existing java app with an app id my_java_app 1. install the appengine python sdk (http://code.google.com/appengine/downloads.html) 2. create a new folder anywhere outside your existing java project and call it (for example) my_java_app_tmp 3. create a file called app.yaml with these contents (make sure the application id is the same as your java one, and it has a non existing version number (I used 99) application: my_java_app version: 99 runtime: python api_version: 1 handlers: - url: .* script: main.py builtins: - datastore_admin: on 3. create a index.yaml with this content (not sure if this is required but I did it) indexes: 4. create a main.py with this content #!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # from google.appengine.ext import webapp from google.appengine.ext.webapp import util class MainHandler(webapp.RequestHandler): def get(self): self.response.out.write('Hello world!') def main(): application = webapp.WSGIApplication([('/', MainHandler)], debug=True) util.run_wsgi_app(application) if __name__ == '__main__': main() 5. upload the app using the python script (its installed when you install the appengine python sdk) appcfg.py update my_java_app_tmp 6. once uploaded go to the app console (https://appengine.google.com) and on the top left of the console select your java app and then in the option box next to it select 99 7. now underneath the blob viewer on the left side you should have the option 'datastore admin' all done. enjoy. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.