java - How to setup the RemoteApiInstaller with Guice when running GAE apps locally? -


i wrote standalone client accesses google app engine app through remote api. using troubleshoot issue facing on live gae environment. works great in standalone client e.g. unit test.

string username = "<username>"; string password = "<password>"; remoteapioptions options = new remoteapioptions().     server("<host>", <port>).credentials(username, password); remoteapiinstaller installer = new remoteapiinstaller(); installer.install(options); 

but using guice manage dependencies. how can install remoteapiinstaller in guicecreator services (datastore, memcache, etc) come gae code runs on local dev environment? instead of using remote api in unit test, want setup remote api rest of app. want set breakpoints in (local) code communicate (remote) datastore/memcache services.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -