[appengine-java] Re: Auto generating datastore-indexes.xml during unit tests

2010-11-18 Thread Jerry
Great tip but it's not working. Running the test updates the mod date of local_db.bin but not datastore-indexes-auto.xml. I'm also configuring a LocalUserServiceTestConfig for a logged in user, but that doesn't seem to affect it. Is another setup step needed? I'd like a unit test to trigger all

[appengine-java] Re: Auto generating datastore-indexes.xml during unit tests

2010-11-19 Thread Jerry
ated > datastore-indexes-auto.xml) > > You might read: > Try to replace with : > > On 19/11/10 01:39, "Jerry" wrote: > > > > > > > > >Great tip but it's not working. Running the test updates the mod date > >of local_db.bin but n

[appengine-java] Re: Auto generating datastore-indexes.xml during unit tests

2010-11-22 Thread Jerry
that case, your ds files must be written somewhere else when you > run unit tests. > > On Nov 19, 9:28 pm, Jerry wrote: > > > > > > > > > Thanks for the hypotheses! > > > I do have > >     > > in war/WEB-INF/datastore-indexes.xml. > > >

[appengine-java] Re: Auto generating datastore-indexes.xml during unit tests

2010-11-22 Thread Jerry
l. Now it no longer calls tearDown(), and it configures the LocalDatastoreServiceTestConfig to use the location "WEB-INF/appengine- generated/DatastoreIndexTest_local_db.bin", and the test has @Ignore since it doesn't work anyway. On Nov 22, 1:55 pm, Jerry wrote: > Well, with your

[appengine-java] Authenticate Google Accounts in Google App Engine/Run Code under different User Context - Java Servlet

2012-01-21 Thread Jerry George
Hi, I would like to do is to authenticate into Google Accounts using a Username and Password. Basically, [Authenticate User Context - Log in Pro grammatically into Google Accounts inside a Java Servlet] UserService userService = UserServiceFactory.getUserService();