There's no command line option for this in the Java SDK. There are only options for help, address, port, sdk root and disabling the update check. Deleting local_db.bin works since this would be what a clear flag would do anyway.
Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Tue, Mar 29, 2011 at 3:12 AM, Edd Grant <[email protected]> wrote: > Hi All, > > I'm using the Java SDK and want to be able to start dev_appserver.cmd > and have it clear down any data in the local DataStore prior to > starting through the use of a command line option. The following post > confirms that the Python SDK has a --clear_datastore argument which > does exactly this. > > > http://stackoverflow.com/questions/1154811/app-engine-how-to-reset-the-datastore > > I have tried executing the following command: > > <AppEngine SDK folder>\dev_appserver.cmd --clear_datastore <path-to-my- > war> but it doesn't understand the argument and just prints the help > screen. > > Anyone got any ideas how I can do this on the command line? I have > read that I can achieve the same result by deleting the local_db.bin > files but that feels rather hacky and I thought this might be a better > solution. > > Cheers, > > Edd > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
