what's the difference between "shindig.signing.global-callback-uri" and "gadgets.uri.oauth.callbackTemplate"?

2011-05-02 Thread Li Xu
We're moving "shindig.signing.global-callback-uri" into container.js as part of context root patch. We found there's already a similar property in container.js called "gadgets.uri.oauth.callbackTemplate". The value of these two property is the same. Is there any reason we can't use gadgets.uri.

Re: latest shindig doesn't build with JRE1.5 anymore

2011-05-02 Thread Li Xu
thanks for the quick fix. it's working now. li From: Paul Lindner To: dev@shindig.apache.org

Re: latest shindig doesn't build with JRE1.5 anymore

2011-05-02 Thread Paul Lindner
Looks like the error is coming from this chunk of code: protected GadgetHtmlParser(DOMImplementation documentFactory, final HtmlSerializer serializer) { this.documentFactory = documentFactory; this.serializerProvider = new Provider() { @Override public HtmlSerializer ge

Re: latest shindig doesn't build with JRE1.5 anymore

2011-05-02 Thread Li Xu
Han, Unfortunately it's different. The fix under this link fixed Eclipse environment weeks ago. However both the environment and maven build started broken recently. thanks, li From: Han Nguyen/Charlotte/IBM@IBMUS

Re: latest shindig doesn't build with JRE1.5 anymore

2011-05-02 Thread Paul Lindner
odd -- jenkins is showing that 1.5 compiles are working: http://hudson.inuus.com/job/Shindig%20Java%201.5/ On Mon, May 2, 2011 at 8:00 AM, Li Xu wrote: > > It builds fine with JRE1.6. anyone have seen sth. similar? > > The error I got is this: > [ERROR] Failed to execute goal > org.apache.mave

Re: Adding a new service. Should it always be wrapped by a feature?

2011-05-02 Thread Paul Lindner
The whole point of osapi is to make the rest/json server-side APIs orthogonal with the javascript API. Unless you have special cases I'd suggest sticking with osapi for as long as you can. (reminds me that I need to re-implement makeRequest on top of osapi.http) On Mon, May 2, 2011 at 10:01 AM,

Adding a new service. Should it always be wrapped by a feature?

2011-05-02 Thread Davies,Douglas
We are adding a new service to our shindig server. After reading this article http://www.dr-chuck.com/csev-blog/2010/07/sending-data-to-a-server-side- service-with-shindig/ it appears to me that the service is then exposed through osapi. However... is this the interface we should be exposi

Re: latest shindig doesn't build with JRE1.5 anymore

2011-05-02 Thread Han Nguyen
Li, Check this out http://permalink.gmane.org/gmane.comp.web.shindig.devel/6601 From: Li Xu/Raleigh/IBM@IBMUS To: dev@shindig.apache.org Date: 05/02/2011 10:59 AM Subject:latest shindig doesn't build with JRE1.5 anymore It builds fine with JRE1.6. anyone have seen sth. simil

latest shindig doesn't build with JRE1.5 anymore

2011-05-02 Thread Li Xu
It builds fine with JRE1.6. anyone have seen sth. similar? The error I got is this: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project shindig-gadgets: Compilation failure [ERROR] base_shindig-project/java/gadgets/src/main/java