[appengine-java] Re: How do I run DeferredTasks in a Unit Test

2012-02-02 Thread Riley Eynon-Lynch
Thanks for the question and answer, Brendan. Can you say what getQueue() is? -- 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

[appengine-java] Re: How do I run DeferredTasks in a Unit Test

2012-02-02 Thread Riley Eynon-Lynch
private QueueStateInfo getQueue(String queueName) { return LocalTaskQueueTestConfig.getLocalTaskQueue().getQueueStateInfo().get(queueName); } will do. Thanks again! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view

[appengine-java] Using Text instead of String - Problem?

2011-04-16 Thread Thomas Riley
Hello all, In my app engine project I have been storing values in the datastore as Text (com.google.appengine.api.datastore.Text) instead of String as I expect the value may be greater than 500 sometimes. It all works great bar one problem. When extracting the Text value and converting it to

Re: [appengine-java] Using Text instead of String - Problem?

2011-04-16 Thread Thomas Riley
I see, thanks. Only problem is, doesn't toString() only return 70 chars or will .getValue().toString() return the whole 'string' in it's true form? -- 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

[appengine-java] HTTP Post not working

2011-04-15 Thread Thomas Riley
Hello, I'm using GAEJ as the back end for my Android application and have implemented Cloud to Device Messaging for Android (C2DM). I have everything working bar one bit of code. The Servlet that is executed in a TaskQueue refuses to execute correctly. The code includes a HTTP POST that is

[appengine-java] Is it possible to use the bulk downloader to download nested entities in XML?

2010-12-01 Thread Riley
I'm trying to follow the hierarchical xml download instructions at http://bulkloadersample.appspot.com/ using the java appengine. This is my config file: transformers: - kind: ParentEntity connector: simplexml connector_options: xpath_to_nodes: /Parents/Parent style: element_centric

[appengine-java] Re: Is it possible to use the bulk downloader to download nested entities in XML?

2010-12-01 Thread Riley
and all of the relationships are preserved. I must not be specifying the model correctly in the first place. How can I cajole the bulk downloader into seeing my children property? Thanks for any help - I've been working at this for hours and hours. On Dec 1, 12:06 pm, Riley rileyl

[appengine-java] access denied (java.lang.RuntimePermission setFactory)

2010-05-23 Thread Thomas Riley
I was working on my App Engine project last night and it seems I must have broken something (code of a night must be a bad idea!) I have no idea what I have done, can anyone seen this error before? HTTP ERROR 500 Problem accessing /rest/v1/sendcopy. Reason: access denied

[appengine-java] Re: jython / modjy FileOutputStream exception

2010-02-10 Thread Riley
Thanks for your help, Alan. I won't have a chance to try again for a while, so it'll remain a mystery until then. I'll be sure to post my results back here then. Thanks again! Riley On Feb 9, 8:05 am, Alan Kennedy alan.kennedy.n...@gmail.com wrote: [Riley] Thanks for your response.  I'm

[appengine-java] Re: jython / modjy FileOutputStream exception

2010-02-08 Thread Riley
on which to try it. Riley On Feb 1, 6:03 am, Alan Kennedy alan.kennedy.n...@gmail.com wrote: [Riley] I'm trying to get jython running with modjy.  Following instructions fromhttp://opensource.xhaus.com/projects/modjy/wiki/ModjyGoogleAppEngine but I get the exceptions below.  It looks like

[appengine-java] jython / modjy FileOutputStream exception

2010-01-31 Thread Riley
I'm trying to get jython running with modjy. Following instructions from http://opensource.xhaus.com/projects/modjy/wiki/ModjyGoogleAppEngine but I get the exceptions below. It looks like python is trying to write an initialization file or something. I know a lot about Java but little about