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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -