java - A convenient way to preload data in development environment datastore -
i'm developing application on google app engine using maven. when run local server have data preloaded in datastore, such local user table. server puts datastore file under web-inf/appengine-generated of target directory , cleaned before every build. there convenient way so?
you have couple of options:
a. backup , reload local_db.bin
in build steps
b. use datastore.backing_store
system property with:
dev_appserver.sh --jvm_flag= -ddatastore.backing_store=\path\to\local_db.bin
Comments
Post a Comment