Re: [appengine-java] Android authentication broken?

2011-08-23 Thread Erlend Hamnaberg
Hello. Sorry about the lack of error message. Here is an excerpt from the log of the phone: 08-23 08:12:38.895: DEBUG/GetCookieAsyncTask(19335): Will authenticate by getting the following uri: http://appid.appspot.com/_ah/login?auth= some-auth-key 08-23 08:12:39.085:

[appengine-java] Re: Deploy button in Eclipse does not prompt for administrator account username

2011-08-23 Thread Mike Lawrence
I still cant sign in from eclipse Helios, but I was able to deploy using this cmd: set GAESDK=C:\eclipse\plugins \com.google.appengine.eclipse.sdkbundle_1.5.0.r36v201105092302\appengine- java-sdk-1.5.0 set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_25 %JAVA_HOME%\bin\java -cp

Re: [appengine-java] Does the SDK in WEB-INF/lib Get Deployed?

2011-08-23 Thread David Chandler
Guice can add quite a bit of startup time. There are some threads on this in the appengine-java group. Also see http://turbomanage.wordpress.com/2010/03/26/appengine-cold-starts-considered/ /dmc On Mon, Aug 22, 2011 at 10:24 PM, objectuser kevin.k.le...@gmail.comwrote: I decided to give

Re: [appengine-java] Re: sitemap.xml and urllist.txt

2011-08-23 Thread Vik
Thanks for the tip. The issue was not with web.xml but with appengine-web.xml . Actually .txt and .xml were not in my static resource list so app-engine was simply restricting it. Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Mon, Aug 22, 2011 at 11:40 PM,

[appengine-java] Why now 1.5.3 SDK in eclipse repository yet?

2011-08-23 Thread Brandon Donnelson
Could you stick the 1.5.3. SDK in the eclipse repository 3.7. Thanks, Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

Re: [appengine-java] Re: is it possible to use Java 7 on GAE ?

2011-08-23 Thread Hannu Leinonen
How 'bout now when Java 7 is out there in the wild? Any plans yet? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/ucpVVTwHLjMJ. To

[appengine-java] Content-Disposition Quit Working

2011-08-23 Thread W. Brunette
How can I make it so that the conent-disposition in the http header is not stripped by GAE cloud serviecs? A recent change to app engine has caused the content-disposition line in the http header to be removed when running in the cloud. It works just fine on the local dev server and worked

[appengine-java] Re: Can't enable datastore admin

2011-08-23 Thread Jose Montes de Oca
Hi Sam, This happened after enabling the datastore admin? could you just refresh the admin console, access the datastore admin under data - Datastore Admin an let us know if its working? Best, Jose Montes de Oca Developer Support Specialist -- You received this message because you are

Re: [appengine-java] Why now 1.5.3 SDK in eclipse repository yet?

2011-08-23 Thread David Chandler
We're working on it. The process is currently coupled with GPE releases and there's one in progress. We're working to decouple these so SDKs can be released independently. On Tue, Aug 23, 2011 at 12:18 PM, Brandon Donnelson branflake2...@gmail.com wrote: Could you stick the 1.5.3. SDK in the

Re: [appengine-java] Why now 1.5.3 SDK in eclipse repository yet?

2011-08-23 Thread Brandon Donnelson
Wahoo, good job. On Aug 23, 2011 11:30 AM, David Chandler drfibona...@google.com wrote: We're working on it. The process is currently coupled with GPE releases and there's one in progress. We're working to decouple these so SDKs can be released independently. On Tue, Aug 23, 2011 at 12:18

[appengine-java] Re: New issue tracker template for production issues

2011-08-23 Thread J
Hey is it still open? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/4kaj2TBNwuMJ. To post to this group, send email to

Re: [appengine-java] Problem deploying to GAE

2011-08-23 Thread Ikai Lan (Google)
There was a period of deploy issues; hopefully this has been resolved. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Fri, Aug 19, 2011 at 8:41 PM, Sarah sarah.aslani...@gmail.com wrote: Unable to update: java.io.IOException: Error posting

Re: [appengine-java] Upload attachments Google Sites

2011-08-23 Thread Ikai Lan (Google)
I just took a look at the GData library, and it shouldn't be that hard to convert an InputStream to a File instance. Here's something I found searching: http://www.roseindia.net/java/java-conversion/InputstreamToFile.shtml -- Ikai Lan Developer Programs Engineer, Google App Engine

Re: [appengine-java] Upload attachments Google Sites

2011-08-23 Thread Stephen Johnson
A File object isn't really the file, it's a reference to the file and you can use it to get its associated metadata (permissions,size,etc.) The example Ikai is referring to creates a new file on disk which isn't allowed on AppEngine so this isn't going to work. Nicolo, perhaps you can create your

[appengine-java] Re: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Brandon Donnelson
The workaround for GWT HashSet transport. // this wont work java.util.HashSetLong hs = jdoIds; // work around private HashSetLong getChildren() { if (jdoIds == null || jdoIds.size() == 0) { return null; } java.util.HashSetLong r = new java.util.HashSetLong();

Re: [appengine-java] Re: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Stephen Johnson
Brandon, did you try making your object transient by using the makeTransient call? Not sure if that would do the trick for you or not. Just curious. Stephen www.cortexconnect.com On Tue, Aug 23, 2011 at 2:43 PM, Brandon Donnelson branflake2...@gmail.comwrote: The workaround for GWT HashSet

Re: [appengine-java] Upload attachments Google Sites

2011-08-23 Thread Stephen Johnson
Happy to help. Ikai's right, the best way would be if you can subclass MediaFileSource. Here's a quick and dirty attempt. Didn't try to compile it or anything like that. Just threw it together. The only question is whether or not getMediaFile is called by anything else within the API. I've coded

Re: [appengine-java] Re: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Brandon Donnelson
Wow, that worked, your my best friend :) How I got it to work: if (j != null) { classJdo detatched = pm.detachCopy(j); a.add(detatched.getData()); } Thanks, Brandon Donnelson http://gwt-examples.google.com -- You received this message because you are

Re: [appengine-java] Re: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Stephen Johnson
I wasn't sure detachCopy would work but I figured makeTransient should. Glad to see detachCopy does the trick for you! On Tue, Aug 23, 2011 at 3:08 PM, Brandon Donnelson branflake2...@gmail.comwrote: Wow, that worked, your my best friend :) How I got it to work: if (j != null) {

Re: [appengine-java] Re: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Stephen Johnson
Good to know. Not sure what all the low-level difference between the two is either but glad one of them worked. On Tue, Aug 23, 2011 at 3:19 PM, Brandon Donnelson branflake2...@gmail.comwrote: Ah, I thought they were both the same at first, so after you said that I tried pm.makeTransient(j);

Re: [appengine-java] Re: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Brandon Donnelson
Heck, I'll just share the query method: private SchoolPeopleData[] queryPeoples(SchoolPeopleDataFilter filter) { String qfilter = null; // filter a batch of ids ListKey keysList = null; if (filter.getUseIds() == true) { keysList = getFilterForIds(filter); if

Re: [appengine-java] Re: is it possible to use Java 7 on GAE ?

2011-08-23 Thread Brandon Donnelson
What would be the benefits of moving to Java 7 sooner than later? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/qUqOlkgoVrQJ. To

Re: [appengine-java] Re: GWT will serialize java.util.Hashet and won't serialize org.datanucleus.sco.backed.HashSet from JDO. Why?

2011-08-23 Thread Brandon Donnelson
Ah, I thought they were both the same at first, so after you said that I tried pm.makeTransient(j); and it won't work for me. Thanks for the help. Brandon -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on

[appengine-java] Re: Upload attachments Google Sites

2011-08-23 Thread Thomas Wiradikusuma
Hi Ikai, Just wondering, is it possible if instances are given limited space temp dir where programs can write to it? It will greatly help 3rd party frameworks which use file system for temp data. On Aug 24, 5:53 am, Ikai Lan (Google) ika...@google.com wrote: Hah, I should have looked at the