Not moving files -- it's moving the url locations. I'm not in favor of this change, but if it does turn out to be required for whatever reason, I have a strong preference for just eliminating one level of directory to make updating existing code easier.
On Fri, Feb 22, 2008 at 3:59 PM, Cassie <[EMAIL PROTECTED]> wrote: > Do we really need to move any of the files around? > I'm not sure I understand why you need to do this in order to be able to > run > from eclipse. (I don't use eclipse though so I may be missing something > obvious?) > > Thanks. > > - Cassie > > > On Fri, Feb 22, 2008 at 3:47 PM, Kevin Brown <[EMAIL PROTECTED]> wrote: > > > This change would break existing behavior -- specifically, the location > of > > rpc_relay on the rendering surface would change, which means all > existing > > sites using shindig and rpc/ifpc would have to be updated (including all > > of > > the sample code). > > > > If we do go through with this, we should just move the "files" directory > > up > > one level yielding: > > > > gadgets/<servlet> > > and > > files/<file> (instead of the current gadgets/files/<file>) > > > > On Fri, Feb 22, 2008 at 3:40 PM, Vincent Demay <[EMAIL PROTECTED]> > > wrote: > > > > > Hi Cassie, > > > > > > I planned to work on this during the week-end : > > > but this patch separates javascript resources and servlets in > > > differents context path so it needs some little change in some files > > > (which I'll try to identify) : > > > /gadgets will respond to all servlets from the shindig/trunk/java > > > /javascripts will respond to asked resources in > shindig/trunk/javascript > > > > > > Because JettyServer(from jetty.jar) can not render both servlets in > > > WEB-INF/web.xml and resources out of WEB-INF servlet so it also mean > > > pom.xml should also be modify in order to have the same behavior > > > running shindig from maven or from eclipse. I'll probably need some > > > help on this last task (I've already used maven but I'm not really un > > > expert;) ) > > > > > > Do you think it is acceptable? > > > > > > Cheers > > > > > > -- > > > Vincent > > > > > > Le 22 févr. 08 à 19:59, Cassie a écrit : > > > > > > > Hey Vincent - Do you think you could split the eclipse launcher > > > > stuff out of > > > > that patch you posted, and make a separate issue for it? > > > > > > > > Thanks! > > > > > > > > - Cassie > > > > > > > > On Sun, Feb 17, 2008 at 8:50 AM, Vincent Demay (JIRA) > > > > <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > >> > > > >> [ > > > >> > > > > > > https://issues.apache.org/jira/browse/SHINDIG-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > > >> ] > > > >> > > > >> Vincent Demay updated SHINDIG-77: > > > >> --------------------------------- > > > >> > > > >> Attachment: patch.txt > > > >> > > > >>> new feature using xhr to request data from a servlet > > > >>> ---------------------------------------------------- > > > >>> > > > >>> Key: SHINDIG-77 > > > >>> URL: > https://issues.apache.org/jira/browse/SHINDIG-77 > > > >>> Project: Shindig > > > >>> Issue Type: New Feature > > > >>> Components: OpenSocial > > > >>> Reporter: Vincent Demay > > > >>> Assignee: Cassie Doll > > > >>> Attachments: patch.txt > > > >>> > > > >>> > > > >>> As I explained on the mailing-list, here is a patch which > implements > > > >> openSocial API querying data from a new Servlet responding json to > > > >> xhr > > > >> request instead of using a static XML file. > > > >>> It is a very beggining and it implement for now only friends API > and > > > >> Persistence Data Api but not yet activities. > > > >>> This patch contains: > > > >>> - this feature : open-social request > > > >>> - a new servlet responding to this feature: ResponderServlet > > > >>> - a way to run shindig from eclipse (mounting javascript in a > > > >>> different > > > >> context path (javascript) - see SHINDIG-20) > > > >>> - an exemple of gadgets : SocialHelloWorldR.xml > > > >>> If you run the patch from eclipse, ping > > > >> http://localhost:8080/javascript/samplecontainer/ > > > >> samplecontainer.html from > > > >> your browser with the following gadget url : > > > >> > > > > > > http://localhost:8080/javascript/samplecontainer/examples/SocialHelloWorldR.xml > > > >>> let me know if you get some trouble with this patch > > > >> > > > >> -- > > > >> This message is automatically generated by JIRA. > > > >> - > > > >> You can reply to this email to add a comment to the issue online. > > > >> > > > >> > > > > > > > > > > > > > > > -- > > ~Kevin > > > > If you received this email by mistake, please delete it, cancel your > mail > > account, destroy your hard drive, silence any witnesses, and burn down > the > > building that you're in. > > > -- ~Kevin If you received this email by mistake, please delete it, cancel your mail account, destroy your hard drive, silence any witnesses, and burn down the building that you're in.

