You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by haris al <ha...@gmail.com> on 2008/12/08 13:47:45 UTC
Regarding samplecontainer and caja
Hi
I tried to execute cajolised gadget samples coming with shindig trunk.The
samplecontainer examples are not working with cajolized one
regards
Re: Regarding samplecontainer and caja
Posted by Jasvir Nagra <ja...@google.com>.
The patch was committed right around the time of the branch and might have
been missed. What do I need to do to pull the patch into
1.0.x-incubating? Can it still be part of RC1 or is that frozen now?
On Sun, Dec 14, 2008 at 11:09 PM, Astha Bhatnagar <
asthabhatnagar2008@gmail.com> wrote:
> Hi Jasvir,
> Thanks for the help, it worked.
>
> I just want to ask if features/caja/caja.js is required to run
> samplecontainer with caja then why it is not there in latest branch of
> shindig (1.0.x-incubating). Probably we missed to check it in while
> creating
> a branch because in latest trunk it is there.
>
> On Sat, Dec 13, 2008 at 2:44 AM, Jasvir Nagra <ja...@google.com> wrote:
>
> > The error you point at was the error being thrown prior to @724493. It
> > indicates the gadget is getting cajoled but the container is not being
> > setup
> > correctly.
> >
> > Just to be sure - I did a clean check out of shindig and build of shindig
> > and did not see this problem. Please be sure your build is up to date:
> >
> > 1. There should be a file features/caja/caja.js
> > 2. Your local maven repo should have pulled and be using Caja r3043 ie.
> > ~/.m2/repository/caja/caja/r3034/ should contain a pom and a jar.
> >
> > If both of these hold and you're still having problems, could you send me
> > the generated ifr page and I can help work out where the problem lies.
> >
> > On Fri, Dec 12, 2008 at 1:55 AM, Astha Bhatnagar <
> > asthabhatnagar2008@gmail.com> wrote:
> >
> > > hi Jasvir,
> > > I tried as you suggested.. but still some javascript error is coming
> out
> > > there
> > >
> > > IMPORTS___.getIdClass___ is not a function
> > > (?)()(Object sharedImports=Object obtainNewModule=Object, Object
> cajita=
> > > Object false=false true=true NaN=NaN)ifr?cont...396095689 (line 2404)
> > > handleUncaughtException()()ifr?cont...396095689 (line 1481)
> > > callPub()ifr?cont...396095689 (line 1439)
> > > loadModule()ifr?cont...396095689 (line 1485)
> > > (?)()ifr?cont...396095689 (line 2367)
> > > IMPORTS___.emitCss___...n}' ].join(IMPORTS___.getIdClass___()));
> > >
> > > I just added <Require feature="caja" /> to socialhelloworl.xml and run
> > the
> > > samplecontainer, nothing else.
> > >
> > >
> > > On Fri, Dec 12, 2008 at 1:52 PM, Jasvir Nagra <ja...@google.com>
> wrote:
> > >
> > > > The patch was applied @724493.
> > > >
> > > > There is no need to set any additional variables - just require the
> > caja
> > > > feature. While not all opensocial api calls are currently supported,
> > it
> > > > certainly should not (and does not) break any tests.
> > > >
> > > > In particular, adding <Require feature="caja" /> to
> > SocialHelloWorld.xml
> > > > should give you a running cajoled hello world gadget.
> > > >
> > > > On Thu, Dec 11, 2008 at 10:13 PM, Astha Bhatnagar <
> > > > asthabhatnagar2008@gmail.com> wrote:
> > > >
> > > > > I don't think that recent patch is applied till yet. I have tried
> to
> > > > apply
> > > > > the patch for me and see if it is running, but didn't work. I just
> > want
> > > > to
> > > > > confirm that to enable caja in sample container we need to set true
> > > > > enablecaja in config/container.js and
> > > > > features/opensocial-current/features.xml add caja dependency,
> right?
> > > but
> > > > > when I do so the java shindig build fails with following test case
> > > > errors.
> > > > > Tests in error:
> > > > > fetchPerson(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > > fetchPeople(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > > notFoundError(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > > badRequest(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > > internalError(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > > testTemplates(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > >
> > > > >
> > > > > could ouy please tell me what I am missing?
> > > > >
> > > > > On Tue, Dec 9, 2008 at 2:38 AM, Jasvir Nagra <ja...@google.com>
> > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > You're right - api changes on caja were primarily responsible for
> > > this
> > > > > > break. This is filed as Issue 654 and I've updated the patch
> that
> > > > > restores
> > > > > > the caja + shindig integration and added cajaTest to hopefully
> > > prevent
> > > > > > future breakage.
> > > > > >
> > > > > > Regards
> > > > > > Jas
> > > > > >
> > > > > > Hi jasvir,
> > > > > >
> > > > >
> > > > >
> > > > > Mon, Dec 8, 2008 at 4:47 AM, haris al <ha...@gmail.com> wrote:
> > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > > I tried to execute cajolised gadget samples coming with
> shindig
> > > > > > trunk.The
> > > > > > > samplecontainer examples are not working with cajolized one
> > > > > > >
> > > > > > > regards
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> Astha
>
Re: Regarding samplecontainer and caja
Posted by Astha Bhatnagar <as...@gmail.com>.
Hi Jasvir,
Thanks for the help, it worked.
I just want to ask if features/caja/caja.js is required to run
samplecontainer with caja then why it is not there in latest branch of
shindig (1.0.x-incubating). Probably we missed to check it in while creating
a branch because in latest trunk it is there.
On Sat, Dec 13, 2008 at 2:44 AM, Jasvir Nagra <ja...@google.com> wrote:
> The error you point at was the error being thrown prior to @724493. It
> indicates the gadget is getting cajoled but the container is not being
> setup
> correctly.
>
> Just to be sure - I did a clean check out of shindig and build of shindig
> and did not see this problem. Please be sure your build is up to date:
>
> 1. There should be a file features/caja/caja.js
> 2. Your local maven repo should have pulled and be using Caja r3043 ie.
> ~/.m2/repository/caja/caja/r3034/ should contain a pom and a jar.
>
> If both of these hold and you're still having problems, could you send me
> the generated ifr page and I can help work out where the problem lies.
>
> On Fri, Dec 12, 2008 at 1:55 AM, Astha Bhatnagar <
> asthabhatnagar2008@gmail.com> wrote:
>
> > hi Jasvir,
> > I tried as you suggested.. but still some javascript error is coming out
> > there
> >
> > IMPORTS___.getIdClass___ is not a function
> > (?)()(Object sharedImports=Object obtainNewModule=Object, Object cajita=
> > Object false=false true=true NaN=NaN)ifr?cont...396095689 (line 2404)
> > handleUncaughtException()()ifr?cont...396095689 (line 1481)
> > callPub()ifr?cont...396095689 (line 1439)
> > loadModule()ifr?cont...396095689 (line 1485)
> > (?)()ifr?cont...396095689 (line 2367)
> > IMPORTS___.emitCss___...n}' ].join(IMPORTS___.getIdClass___()));
> >
> > I just added <Require feature="caja" /> to socialhelloworl.xml and run
> the
> > samplecontainer, nothing else.
> >
> >
> > On Fri, Dec 12, 2008 at 1:52 PM, Jasvir Nagra <ja...@google.com> wrote:
> >
> > > The patch was applied @724493.
> > >
> > > There is no need to set any additional variables - just require the
> caja
> > > feature. While not all opensocial api calls are currently supported,
> it
> > > certainly should not (and does not) break any tests.
> > >
> > > In particular, adding <Require feature="caja" /> to
> SocialHelloWorld.xml
> > > should give you a running cajoled hello world gadget.
> > >
> > > On Thu, Dec 11, 2008 at 10:13 PM, Astha Bhatnagar <
> > > asthabhatnagar2008@gmail.com> wrote:
> > >
> > > > I don't think that recent patch is applied till yet. I have tried to
> > > apply
> > > > the patch for me and see if it is running, but didn't work. I just
> want
> > > to
> > > > confirm that to enable caja in sample container we need to set true
> > > > enablecaja in config/container.js and
> > > > features/opensocial-current/features.xml add caja dependency, right?
> > but
> > > > when I do so the java shindig build fails with following test case
> > > errors.
> > > > Tests in error:
> > > > fetchPerson(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > fetchPeople(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > notFoundError(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > badRequest(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > internalError(org.apache.shindig.server.endtoend.EndToEndTest)
> > > > testTemplates(org.apache.shindig.server.endtoend.EndToEndTest)
> > > >
> > > >
> > > > could ouy please tell me what I am missing?
> > > >
> > > > On Tue, Dec 9, 2008 at 2:38 AM, Jasvir Nagra <ja...@google.com>
> > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > You're right - api changes on caja were primarily responsible for
> > this
> > > > > break. This is filed as Issue 654 and I've updated the patch that
> > > > restores
> > > > > the caja + shindig integration and added cajaTest to hopefully
> > prevent
> > > > > future breakage.
> > > > >
> > > > > Regards
> > > > > Jas
> > > > >
> > > > > Hi jasvir,
> > > > >
> > > >
> > > >
> > > > Mon, Dec 8, 2008 at 4:47 AM, haris al <ha...@gmail.com> wrote:
> > > > >
> > > > > > Hi
> > > > > >
> > > > > > I tried to execute cajolised gadget samples coming with shindig
> > > > > trunk.The
> > > > > > samplecontainer examples are not working with cajolized one
> > > > > >
> > > > > > regards
> > > > > >
> > > > >
> > > >
> > >
> >
>
Astha
Re: Regarding samplecontainer and caja
Posted by Jasvir Nagra <ja...@google.com>.
The error you point at was the error being thrown prior to @724493. It
indicates the gadget is getting cajoled but the container is not being setup
correctly.
Just to be sure - I did a clean check out of shindig and build of shindig
and did not see this problem. Please be sure your build is up to date:
1. There should be a file features/caja/caja.js
2. Your local maven repo should have pulled and be using Caja r3043 ie.
~/.m2/repository/caja/caja/r3034/ should contain a pom and a jar.
If both of these hold and you're still having problems, could you send me
the generated ifr page and I can help work out where the problem lies.
On Fri, Dec 12, 2008 at 1:55 AM, Astha Bhatnagar <
asthabhatnagar2008@gmail.com> wrote:
> hi Jasvir,
> I tried as you suggested.. but still some javascript error is coming out
> there
>
> IMPORTS___.getIdClass___ is not a function
> (?)()(Object sharedImports=Object obtainNewModule=Object, Object cajita=
> Object false=false true=true NaN=NaN)ifr?cont...396095689 (line 2404)
> handleUncaughtException()()ifr?cont...396095689 (line 1481)
> callPub()ifr?cont...396095689 (line 1439)
> loadModule()ifr?cont...396095689 (line 1485)
> (?)()ifr?cont...396095689 (line 2367)
> IMPORTS___.emitCss___...n}' ].join(IMPORTS___.getIdClass___()));
>
> I just added <Require feature="caja" /> to socialhelloworl.xml and run the
> samplecontainer, nothing else.
>
>
> On Fri, Dec 12, 2008 at 1:52 PM, Jasvir Nagra <ja...@google.com> wrote:
>
> > The patch was applied @724493.
> >
> > There is no need to set any additional variables - just require the caja
> > feature. While not all opensocial api calls are currently supported, it
> > certainly should not (and does not) break any tests.
> >
> > In particular, adding <Require feature="caja" /> to SocialHelloWorld.xml
> > should give you a running cajoled hello world gadget.
> >
> > On Thu, Dec 11, 2008 at 10:13 PM, Astha Bhatnagar <
> > asthabhatnagar2008@gmail.com> wrote:
> >
> > > I don't think that recent patch is applied till yet. I have tried to
> > apply
> > > the patch for me and see if it is running, but didn't work. I just want
> > to
> > > confirm that to enable caja in sample container we need to set true
> > > enablecaja in config/container.js and
> > > features/opensocial-current/features.xml add caja dependency, right?
> but
> > > when I do so the java shindig build fails with following test case
> > errors.
> > > Tests in error:
> > > fetchPerson(org.apache.shindig.server.endtoend.EndToEndTest)
> > > fetchPeople(org.apache.shindig.server.endtoend.EndToEndTest)
> > > notFoundError(org.apache.shindig.server.endtoend.EndToEndTest)
> > > badRequest(org.apache.shindig.server.endtoend.EndToEndTest)
> > > internalError(org.apache.shindig.server.endtoend.EndToEndTest)
> > > testTemplates(org.apache.shindig.server.endtoend.EndToEndTest)
> > >
> > >
> > > could ouy please tell me what I am missing?
> > >
> > > On Tue, Dec 9, 2008 at 2:38 AM, Jasvir Nagra <ja...@google.com>
> wrote:
> > >
> > > > Hi,
> > > >
> > > > You're right - api changes on caja were primarily responsible for
> this
> > > > break. This is filed as Issue 654 and I've updated the patch that
> > > restores
> > > > the caja + shindig integration and added cajaTest to hopefully
> prevent
> > > > future breakage.
> > > >
> > > > Regards
> > > > Jas
> > > >
> > > > Hi jasvir,
> > > >
> > >
> > >
> > > Mon, Dec 8, 2008 at 4:47 AM, haris al <ha...@gmail.com> wrote:
> > > >
> > > > > Hi
> > > > >
> > > > > I tried to execute cajolised gadget samples coming with shindig
> > > > trunk.The
> > > > > samplecontainer examples are not working with cajolized one
> > > > >
> > > > > regards
> > > > >
> > > >
> > >
> >
>
Re: Regarding samplecontainer and caja
Posted by Astha Bhatnagar <as...@gmail.com>.
hi Jasvir,
I tried as you suggested.. but still some javascript error is coming out
there
IMPORTS___.getIdClass___ is not a function
(?)()(Object sharedImports=Object obtainNewModule=Object, Object cajita=
Object false=false true=true NaN=NaN)ifr?cont...396095689 (line 2404)
handleUncaughtException()()ifr?cont...396095689 (line 1481)
callPub()ifr?cont...396095689 (line 1439)
loadModule()ifr?cont...396095689 (line 1485)
(?)()ifr?cont...396095689 (line 2367)
IMPORTS___.emitCss___...n}' ].join(IMPORTS___.getIdClass___()));
I just added <Require feature="caja" /> to socialhelloworl.xml and run the
samplecontainer, nothing else.
On Fri, Dec 12, 2008 at 1:52 PM, Jasvir Nagra <ja...@google.com> wrote:
> The patch was applied @724493.
>
> There is no need to set any additional variables - just require the caja
> feature. While not all opensocial api calls are currently supported, it
> certainly should not (and does not) break any tests.
>
> In particular, adding <Require feature="caja" /> to SocialHelloWorld.xml
> should give you a running cajoled hello world gadget.
>
> On Thu, Dec 11, 2008 at 10:13 PM, Astha Bhatnagar <
> asthabhatnagar2008@gmail.com> wrote:
>
> > I don't think that recent patch is applied till yet. I have tried to
> apply
> > the patch for me and see if it is running, but didn't work. I just want
> to
> > confirm that to enable caja in sample container we need to set true
> > enablecaja in config/container.js and
> > features/opensocial-current/features.xml add caja dependency, right? but
> > when I do so the java shindig build fails with following test case
> errors.
> > Tests in error:
> > fetchPerson(org.apache.shindig.server.endtoend.EndToEndTest)
> > fetchPeople(org.apache.shindig.server.endtoend.EndToEndTest)
> > notFoundError(org.apache.shindig.server.endtoend.EndToEndTest)
> > badRequest(org.apache.shindig.server.endtoend.EndToEndTest)
> > internalError(org.apache.shindig.server.endtoend.EndToEndTest)
> > testTemplates(org.apache.shindig.server.endtoend.EndToEndTest)
> >
> >
> > could ouy please tell me what I am missing?
> >
> > On Tue, Dec 9, 2008 at 2:38 AM, Jasvir Nagra <ja...@google.com> wrote:
> >
> > > Hi,
> > >
> > > You're right - api changes on caja were primarily responsible for this
> > > break. This is filed as Issue 654 and I've updated the patch that
> > restores
> > > the caja + shindig integration and added cajaTest to hopefully prevent
> > > future breakage.
> > >
> > > Regards
> > > Jas
> > >
> > > Hi jasvir,
> > >
> >
> >
> > Mon, Dec 8, 2008 at 4:47 AM, haris al <ha...@gmail.com> wrote:
> > >
> > > > Hi
> > > >
> > > > I tried to execute cajolised gadget samples coming with shindig
> > > trunk.The
> > > > samplecontainer examples are not working with cajolized one
> > > >
> > > > regards
> > > >
> > >
> >
>
Re: Regarding samplecontainer and caja
Posted by Jasvir Nagra <ja...@google.com>.
The patch was applied @724493.
There is no need to set any additional variables - just require the caja
feature. While not all opensocial api calls are currently supported, it
certainly should not (and does not) break any tests.
In particular, adding <Require feature="caja" /> to SocialHelloWorld.xml
should give you a running cajoled hello world gadget.
On Thu, Dec 11, 2008 at 10:13 PM, Astha Bhatnagar <
asthabhatnagar2008@gmail.com> wrote:
> I don't think that recent patch is applied till yet. I have tried to apply
> the patch for me and see if it is running, but didn't work. I just want to
> confirm that to enable caja in sample container we need to set true
> enablecaja in config/container.js and
> features/opensocial-current/features.xml add caja dependency, right? but
> when I do so the java shindig build fails with following test case errors.
> Tests in error:
> fetchPerson(org.apache.shindig.server.endtoend.EndToEndTest)
> fetchPeople(org.apache.shindig.server.endtoend.EndToEndTest)
> notFoundError(org.apache.shindig.server.endtoend.EndToEndTest)
> badRequest(org.apache.shindig.server.endtoend.EndToEndTest)
> internalError(org.apache.shindig.server.endtoend.EndToEndTest)
> testTemplates(org.apache.shindig.server.endtoend.EndToEndTest)
>
>
> could ouy please tell me what I am missing?
>
> On Tue, Dec 9, 2008 at 2:38 AM, Jasvir Nagra <ja...@google.com> wrote:
>
> > Hi,
> >
> > You're right - api changes on caja were primarily responsible for this
> > break. This is filed as Issue 654 and I've updated the patch that
> restores
> > the caja + shindig integration and added cajaTest to hopefully prevent
> > future breakage.
> >
> > Regards
> > Jas
> >
> > Hi jasvir,
> >
>
>
> Mon, Dec 8, 2008 at 4:47 AM, haris al <ha...@gmail.com> wrote:
> >
> > > Hi
> > >
> > > I tried to execute cajolised gadget samples coming with shindig
> > trunk.The
> > > samplecontainer examples are not working with cajolized one
> > >
> > > regards
> > >
> >
>
Re: Regarding samplecontainer and caja
Posted by Astha Bhatnagar <as...@gmail.com>.
I don't think that recent patch is applied till yet. I have tried to apply
the patch for me and see if it is running, but didn't work. I just want to
confirm that to enable caja in sample container we need to set true
enablecaja in config/container.js and
features/opensocial-current/features.xml add caja dependency, right? but
when I do so the java shindig build fails with following test case errors.
Tests in error:
fetchPerson(org.apache.shindig.server.endtoend.EndToEndTest)
fetchPeople(org.apache.shindig.server.endtoend.EndToEndTest)
notFoundError(org.apache.shindig.server.endtoend.EndToEndTest)
badRequest(org.apache.shindig.server.endtoend.EndToEndTest)
internalError(org.apache.shindig.server.endtoend.EndToEndTest)
testTemplates(org.apache.shindig.server.endtoend.EndToEndTest)
could ouy please tell me what I am missing?
On Tue, Dec 9, 2008 at 2:38 AM, Jasvir Nagra <ja...@google.com> wrote:
> Hi,
>
> You're right - api changes on caja were primarily responsible for this
> break. This is filed as Issue 654 and I've updated the patch that restores
> the caja + shindig integration and added cajaTest to hopefully prevent
> future breakage.
>
> Regards
> Jas
>
> Hi jasvir,
>
Mon, Dec 8, 2008 at 4:47 AM, haris al <ha...@gmail.com> wrote:
>
> > Hi
> >
> > I tried to execute cajolised gadget samples coming with shindig
> trunk.The
> > samplecontainer examples are not working with cajolized one
> >
> > regards
> >
>
Re: Regarding samplecontainer and caja
Posted by Jasvir Nagra <ja...@google.com>.
Hi,
You're right - api changes on caja were primarily responsible for this
break. This is filed as Issue 654 and I've updated the patch that restores
the caja + shindig integration and added cajaTest to hopefully prevent
future breakage.
Regards
Jas
On Mon, Dec 8, 2008 at 4:47 AM, haris al <ha...@gmail.com> wrote:
> Hi
>
> I tried to execute cajolised gadget samples coming with shindig trunk.The
> samplecontainer examples are not working with cajolized one
>
> regards
>