I've added this just after the server is started, but no luck. :-(
ApiProxy.Environment env = new DelegatingEnvironment(new
DummyEnvironment())
{
@Override
public String getAppId()
{
return archive.getName();
}
};
ApiProxyLocalFactory aplf = new ApiProxyLocalFactory();
ApiProxy.Delegate delegate = aplf.create(new
DummyLocalServerEnvironment(appLocation, containerConfig));
ApiProxy.setEnvironmentForCurrentThread(env);
ApiProxy.setDelegate(delegate);
--
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 [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-java?hl=en.