You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Santiago Gala <sa...@gmail.com> on 2008/06/02 13:58:31 UTC
Re: Google IO labs for Shindig online
El sáb, 31-05-2008 a las 02:11 +0300, Amr Khaled escribió:
> Hello Chris
> I got the following error when trying to execute the sql file
>
> Can't create table '.\opensocial\addresses.frm' (errno: 150)
Not sure of the context, but backslash is used to quote literal inside
strings, so use of it can be tricky.
Specially when it runs under linux (path separator == "/") but not under
windows (path separator == "\\")
Hope this helps
Santiago
> >
>
> On Fri, May 30, 2008 at 10:58 PM, Christian Schalk <cs...@google.com>
> wrote:
>
> > Hello Shindig-dev,
> >
> > As part of our code labs for Google IO, we had attendees step through some
> > preliminary stuff with Shindig.
> > Since a lot of the attendees were brand new to Shindig, they didn't all get
> > too far in the labs, but feel free to have a go with this codelab.
> >
> > http://chrisschalk.com/shindig_docs/io/shindig-io.html
> >
> > You'll notice that I also created patch file for the database stuff that I
> > had created awhile back.
> >
> > Also, the PHP portion turned out to be pretty tricky if you didn't have PHP
> > 5.2.6, Apache 2.x and MCrypt.. So feel free to give this a try and let
> > Chris
> > Chabot know if you have feedback!
> >
> >
> > If you have feedback - please send it my way as we'll be refining these
> > into
> > smaller easier labs for use elsewhere at other venues..
> >
> > -Chris
> >
> > p.s. I've noticed some clunky behavior on the new Eclipse-Maven plugin
> > (sonatype). It seems to have to rebuild many times...
> >
> > --
> > Chris Schalk, Google Developer Advocate
> >
>
>
>
--
Santiago Gala
http://memojo.com/~sgala/blog/
Re: Google IO labs for Shindig online
Posted by Christian Schalk <cs...@google.com>.
> I *succeed *in applying the patch manually.
.. meaning that you succeeded in manually copying files? I would assume you
would be successful here. :-)
Or that Shindig successfully compiles after you manually copied the files?
> And *failed *using the patch utility, it gives an error when patching
When you patch using the patch utility, you should see an output like:
patch -Np0 < /tmp/sql-patch.patch
patching file
java/social-api/src/main/java/org/apache/shindig/social/samplecontainer/sql/SQLActivitiesService.java
patching file
java/social-api/src/main/java/org/apache/shindig/social/samplecontainer/sql/SQLPeopleService.java
patching file
java/social-api/src/main/java/org/apache/shindig/social/samplecontainer/sql/SQLDataLayer.java
patching file
java/social-api/src/main/java/org/apache/shindig/social/samplecontainer/sql/SQLDataHandler.java
patching file
java/social-api/src/main/java/org/apache/shindig/social/samplecontainer/sql/SQLDataService.java
patching file
java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java
patching file java/social-api/pom.xml
patching file javascript/samplecontainer/simplecontainer.html
patching file javascript/samplecontainer/examples/Activities.xml
patching file javascript/samplecontainer/examples/Persistence.xml
patching file javascript/samplecontainer/examples/ListFriends.xml
This simply means that it successfully copied the files over (and patched
the existing ones). It doesn't necessarily guarantee that it will compile.
After patching, you should be able to do:
mvn clean
mvn
to get a clean build.
and then mvn -Prun (this should work assuming you're JDBC connection info
is correct and your database is running.)
Also, very important. This patch will not work on just any Shindig. If you
downloaded Shindig a long time ago, this patch will not work as it was
updated on 6-2-08. If you have problems compiling after patching, your
Shinding build may not be compatible with this patch. In this, you can use
the saved Shindig from 6-2-08. I placed this here:
http://chrisschalk.com/shindig_docs/patch/
Using this Shindig will definitely work with the patch.
(I guess I could probably just provide a downloadable "patched" version of
Shindig so you don't have to patch it.. :-)
Hope this helps!
-Chris
On Sat, Jun 7, 2008 at 5:18 AM, Amr Khaled <en...@gmail.com> wrote:
> Hi Chris,
> There is a misunderstanding,
> I *succeed *in applying the patch manually.
> And *failed *using the patch utility, it gives an error when patching
> SocialApiGuiceModule.java - I don't have a copy of the error now - the
> compilation errors appeared after that.
> Patching manually is OK.
> Thanks
>
> On Sat, Jun 7, 2008 at 4:59 AM, Christian Schalk <cs...@google.com>
> wrote:
>
> > Amr,
> >
> > So if I understand correctly, you applied the patch manually as opposed
> to
> > using the patch utility?
> >
> > You're compilation errors seem to indicate that the new SQL java classes
> > didn't make it into your manual patch, hence
> > > cannot find symbol
> > > symbol : class SQLPeopleService
> >
> > If at possible, I would use the patch utility since it's so easy to
> update
> > your Shindig build as opposed to manually copying files.
> >
> > If doing manually, you'll have to make sure you copy everything over and
> > are
> > placed into the right locations.
> >
> > Also, I updated the patch to be current with Builds as of 6-2-08. If you
> > are
> > using an older build of Shindig, this patch will not work recent changes
> > occurring just before 6-2-08.
> >
> > Incidentally, I just pulled down a build to test the patch, and the
> current
> > Shindig failed to build.
> >
> > Overall, I'd recommend getting the patch utility to use to patch Shindig
> -
> > this will come handy for applying other patches in the future.
> > Secondly, if you wish to run this specific SQL example, I saved off a
> build
> > from 6-2-08, that you can download and use with the SQL patch.
> > See:
> > http://chrisschalk.com/shindig_docs/patch/
> >
> > Best of luck!
> > -Chris
> >
> > p.s. Regarding the windows issue - I'm putting in an order to get a
> windows
> > machine so I can test everything on Windows (including the PHP stuff)
> >
> >
> > On Fri, Jun 6, 2008 at 6:22 PM, Amr Khaled <en...@gmail.com>
> wrote:
> >
> > > Hi Chris
> > > I'd like to inform you that I've successfully connected Shindig to
> MySQL
> > > database through the steps you provided but with the following:
> > > - Executed the query on Linux, Windows fails.
> > > - Apply the patch manually.
> > > Not using the command:
> > >
> > > > patch -Np0 < /tmp/sql-patch.patch
> > > >
> > > it fails when applying the patch to SocialApiGuiceModule.java:
> > >
> > > and it gives the following error when building:
> > >
> > > [INFO] Compilation failure
> > > >
> > > >
> > >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[48,33]
> > > > cannot find symbol
> > > > symbol : class SQLPeopleService
> > > > location: class org.apache.shindig.social.SocialApiGuiceModule
> > > >
> > > >
> > >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[49,31]
> > > > cannot find symbol
> > > > symbol : class SQLDataService
> > > > location: class org.apache.shindig.social.SocialApiGuiceModule
> > > >
> > > >
> > >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[50,37]
> > > > cannot find symbol
> > > > symbol : class SQLActivitiesService
> > > > location: class org.apache.shindig.social.SocialApiGuiceModule
> > > >
> > >
> > > Thank you very much
> > >
> > > I'll be waiting for the solution of running the SQL script on Windows
> > >
> > > On Mon, Jun 2, 2008 at 6:40 PM, Christian Schalk <cs...@google.com>
> > > wrote:
> > >
> > > > I'll try this out on a windows machine today to see if I can
> reproduce
> > > the
> > > > problem.
> > > >
> > > > I don't see anything obvious in the install script though. ?
> > > > -Chris
> > > >
> > > > On Mon, Jun 2, 2008 at 4:58 AM, Santiago Gala <
> santiago.gala@gmail.com
> > >
> > > > wrote:
> > > >
> > > > > El sáb, 31-05-2008 a las 02:11 +0300, Amr Khaled escribió:
> > > > > > Hello Chris
> > > > > > I got the following error when trying to execute the sql file
> > > > > >
> > > > > > Can't create table '.\opensocial\addresses.frm' (errno: 150)
> > > > >
> > > > > Not sure of the context, but backslash is used to quote literal
> > inside
> > > > > strings, so use of it can be tricky.
> > > > >
> > > > > Specially when it runs under linux (path separator == "/") but not
> > > under
> > > > > windows (path separator == "\\")
> > > > >
> > > > > Hope this helps
> > > > > Santiago
> > > > >
> > > > > > >
> > > > > >
> > > > > > On Fri, May 30, 2008 at 10:58 PM, Christian Schalk <
> > > cschalk@google.com
> > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hello Shindig-dev,
> > > > > > >
> > > > > > > As part of our code labs for Google IO, we had attendees step
> > > through
> > > > > some
> > > > > > > preliminary stuff with Shindig.
> > > > > > > Since a lot of the attendees were brand new to Shindig, they
> > didn't
> > > > all
> > > > > get
> > > > > > > too far in the labs, but feel free to have a go with this
> > codelab.
> > > > > > >
> > > > > > > http://chrisschalk.com/shindig_docs/io/shindig-io.html
> > > > > > >
> > > > > > > You'll notice that I also created patch file for the database
> > stuff
> > > > > that I
> > > > > > > had created awhile back.
> > > > > > >
> > > > > > > Also, the PHP portion turned out to be pretty tricky if you
> > didn't
> > > > have
> > > > > PHP
> > > > > > > 5.2.6, Apache 2.x and MCrypt.. So feel free to give this a try
> > and
> > > > let
> > > > > > > Chris
> > > > > > > Chabot know if you have feedback!
> > > > > > >
> > > > > > >
> > > > > > > If you have feedback - please send it my way as we'll be
> refining
> > > > these
> > > > > > > into
> > > > > > > smaller easier labs for use elsewhere at other venues..
> > > > > > >
> > > > > > > -Chris
> > > > > > >
> > > > > > > p.s. I've noticed some clunky behavior on the new Eclipse-Maven
> > > > plugin
> > > > > > > (sonatype). It seems to have to rebuild many times...
> > > > > > >
> > > > > > > --
> > > > > > > Chris Schalk, Google Developer Advocate
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > --
> > > > > Santiago Gala
> > > > > http://memojo.com/~sgala/blog/ <http://memojo.com/%7Esgala/blog/><
> http://memojo.com/%7Esgala/blog/> <
> > http://memojo.com/%7Esgala/blog/> <
> > > http://memojo.com/%7Esgala/blog/> <
> > > > http://memojo.com/%7Esgala/blog/>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Chris Schalk, Google Developer Advocate
> > > >
> > >
> > >
> > >
> > > --
> > > Amr Khaled
> > > Faculty of Computers and Information
> > >
> >
> >
> >
> > --
> > Chris Schalk, Google Developer Advocate
> >
>
>
>
> --
> Amr Khaled
> Faculty of Computers and Information
>
--
Chris Schalk, Google Developer Advocate
Re: Google IO labs for Shindig online
Posted by Amr Khaled <en...@gmail.com>.
Hi Chris,
There is a misunderstanding,
I *succeed *in applying the patch manually.
And *failed *using the patch utility, it gives an error when patching
SocialApiGuiceModule.java - I don't have a copy of the error now - the
compilation errors appeared after that.
Patching manually is OK.
Thanks
On Sat, Jun 7, 2008 at 4:59 AM, Christian Schalk <cs...@google.com> wrote:
> Amr,
>
> So if I understand correctly, you applied the patch manually as opposed to
> using the patch utility?
>
> You're compilation errors seem to indicate that the new SQL java classes
> didn't make it into your manual patch, hence
> > cannot find symbol
> > symbol : class SQLPeopleService
>
> If at possible, I would use the patch utility since it's so easy to update
> your Shindig build as opposed to manually copying files.
>
> If doing manually, you'll have to make sure you copy everything over and
> are
> placed into the right locations.
>
> Also, I updated the patch to be current with Builds as of 6-2-08. If you
> are
> using an older build of Shindig, this patch will not work recent changes
> occurring just before 6-2-08.
>
> Incidentally, I just pulled down a build to test the patch, and the current
> Shindig failed to build.
>
> Overall, I'd recommend getting the patch utility to use to patch Shindig -
> this will come handy for applying other patches in the future.
> Secondly, if you wish to run this specific SQL example, I saved off a build
> from 6-2-08, that you can download and use with the SQL patch.
> See:
> http://chrisschalk.com/shindig_docs/patch/
>
> Best of luck!
> -Chris
>
> p.s. Regarding the windows issue - I'm putting in an order to get a windows
> machine so I can test everything on Windows (including the PHP stuff)
>
>
> On Fri, Jun 6, 2008 at 6:22 PM, Amr Khaled <en...@gmail.com> wrote:
>
> > Hi Chris
> > I'd like to inform you that I've successfully connected Shindig to MySQL
> > database through the steps you provided but with the following:
> > - Executed the query on Linux, Windows fails.
> > - Apply the patch manually.
> > Not using the command:
> >
> > > patch -Np0 < /tmp/sql-patch.patch
> > >
> > it fails when applying the patch to SocialApiGuiceModule.java:
> >
> > and it gives the following error when building:
> >
> > [INFO] Compilation failure
> > >
> > >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[48,33]
> > > cannot find symbol
> > > symbol : class SQLPeopleService
> > > location: class org.apache.shindig.social.SocialApiGuiceModule
> > >
> > >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[49,31]
> > > cannot find symbol
> > > symbol : class SQLDataService
> > > location: class org.apache.shindig.social.SocialApiGuiceModule
> > >
> > >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[50,37]
> > > cannot find symbol
> > > symbol : class SQLActivitiesService
> > > location: class org.apache.shindig.social.SocialApiGuiceModule
> > >
> >
> > Thank you very much
> >
> > I'll be waiting for the solution of running the SQL script on Windows
> >
> > On Mon, Jun 2, 2008 at 6:40 PM, Christian Schalk <cs...@google.com>
> > wrote:
> >
> > > I'll try this out on a windows machine today to see if I can reproduce
> > the
> > > problem.
> > >
> > > I don't see anything obvious in the install script though. ?
> > > -Chris
> > >
> > > On Mon, Jun 2, 2008 at 4:58 AM, Santiago Gala <santiago.gala@gmail.com
> >
> > > wrote:
> > >
> > > > El sáb, 31-05-2008 a las 02:11 +0300, Amr Khaled escribió:
> > > > > Hello Chris
> > > > > I got the following error when trying to execute the sql file
> > > > >
> > > > > Can't create table '.\opensocial\addresses.frm' (errno: 150)
> > > >
> > > > Not sure of the context, but backslash is used to quote literal
> inside
> > > > strings, so use of it can be tricky.
> > > >
> > > > Specially when it runs under linux (path separator == "/") but not
> > under
> > > > windows (path separator == "\\")
> > > >
> > > > Hope this helps
> > > > Santiago
> > > >
> > > > > >
> > > > >
> > > > > On Fri, May 30, 2008 at 10:58 PM, Christian Schalk <
> > cschalk@google.com
> > > >
> > > > > wrote:
> > > > >
> > > > > > Hello Shindig-dev,
> > > > > >
> > > > > > As part of our code labs for Google IO, we had attendees step
> > through
> > > > some
> > > > > > preliminary stuff with Shindig.
> > > > > > Since a lot of the attendees were brand new to Shindig, they
> didn't
> > > all
> > > > get
> > > > > > too far in the labs, but feel free to have a go with this
> codelab.
> > > > > >
> > > > > > http://chrisschalk.com/shindig_docs/io/shindig-io.html
> > > > > >
> > > > > > You'll notice that I also created patch file for the database
> stuff
> > > > that I
> > > > > > had created awhile back.
> > > > > >
> > > > > > Also, the PHP portion turned out to be pretty tricky if you
> didn't
> > > have
> > > > PHP
> > > > > > 5.2.6, Apache 2.x and MCrypt.. So feel free to give this a try
> and
> > > let
> > > > > > Chris
> > > > > > Chabot know if you have feedback!
> > > > > >
> > > > > >
> > > > > > If you have feedback - please send it my way as we'll be refining
> > > these
> > > > > > into
> > > > > > smaller easier labs for use elsewhere at other venues..
> > > > > >
> > > > > > -Chris
> > > > > >
> > > > > > p.s. I've noticed some clunky behavior on the new Eclipse-Maven
> > > plugin
> > > > > > (sonatype). It seems to have to rebuild many times...
> > > > > >
> > > > > > --
> > > > > > Chris Schalk, Google Developer Advocate
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > --
> > > > Santiago Gala
> > > > http://memojo.com/~sgala/blog/ <http://memojo.com/%7Esgala/blog/> <
> http://memojo.com/%7Esgala/blog/> <
> > http://memojo.com/%7Esgala/blog/> <
> > > http://memojo.com/%7Esgala/blog/>
> > > >
> > > >
> > >
> > >
> > > --
> > > Chris Schalk, Google Developer Advocate
> > >
> >
> >
> >
> > --
> > Amr Khaled
> > Faculty of Computers and Information
> >
>
>
>
> --
> Chris Schalk, Google Developer Advocate
>
--
Amr Khaled
Faculty of Computers and Information
Re: Google IO labs for Shindig online
Posted by Christian Schalk <cs...@google.com>.
Amr,
So if I understand correctly, you applied the patch manually as opposed to
using the patch utility?
You're compilation errors seem to indicate that the new SQL java classes
didn't make it into your manual patch, hence
> cannot find symbol
> symbol : class SQLPeopleService
If at possible, I would use the patch utility since it's so easy to update
your Shindig build as opposed to manually copying files.
If doing manually, you'll have to make sure you copy everything over and are
placed into the right locations.
Also, I updated the patch to be current with Builds as of 6-2-08. If you are
using an older build of Shindig, this patch will not work recent changes
occurring just before 6-2-08.
Incidentally, I just pulled down a build to test the patch, and the current
Shindig failed to build.
Overall, I'd recommend getting the patch utility to use to patch Shindig -
this will come handy for applying other patches in the future.
Secondly, if you wish to run this specific SQL example, I saved off a build
from 6-2-08, that you can download and use with the SQL patch.
See:
http://chrisschalk.com/shindig_docs/patch/
Best of luck!
-Chris
p.s. Regarding the windows issue - I'm putting in an order to get a windows
machine so I can test everything on Windows (including the PHP stuff)
On Fri, Jun 6, 2008 at 6:22 PM, Amr Khaled <en...@gmail.com> wrote:
> Hi Chris
> I'd like to inform you that I've successfully connected Shindig to MySQL
> database through the steps you provided but with the following:
> - Executed the query on Linux, Windows fails.
> - Apply the patch manually.
> Not using the command:
>
> > patch -Np0 < /tmp/sql-patch.patch
> >
> it fails when applying the patch to SocialApiGuiceModule.java:
>
> and it gives the following error when building:
>
> [INFO] Compilation failure
> >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[48,33]
> > cannot find symbol
> > symbol : class SQLPeopleService
> > location: class org.apache.shindig.social.SocialApiGuiceModule
> >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[49,31]
> > cannot find symbol
> > symbol : class SQLDataService
> > location: class org.apache.shindig.social.SocialApiGuiceModule
> >
> >
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[50,37]
> > cannot find symbol
> > symbol : class SQLActivitiesService
> > location: class org.apache.shindig.social.SocialApiGuiceModule
> >
>
> Thank you very much
>
> I'll be waiting for the solution of running the SQL script on Windows
>
> On Mon, Jun 2, 2008 at 6:40 PM, Christian Schalk <cs...@google.com>
> wrote:
>
> > I'll try this out on a windows machine today to see if I can reproduce
> the
> > problem.
> >
> > I don't see anything obvious in the install script though. ?
> > -Chris
> >
> > On Mon, Jun 2, 2008 at 4:58 AM, Santiago Gala <sa...@gmail.com>
> > wrote:
> >
> > > El sáb, 31-05-2008 a las 02:11 +0300, Amr Khaled escribió:
> > > > Hello Chris
> > > > I got the following error when trying to execute the sql file
> > > >
> > > > Can't create table '.\opensocial\addresses.frm' (errno: 150)
> > >
> > > Not sure of the context, but backslash is used to quote literal inside
> > > strings, so use of it can be tricky.
> > >
> > > Specially when it runs under linux (path separator == "/") but not
> under
> > > windows (path separator == "\\")
> > >
> > > Hope this helps
> > > Santiago
> > >
> > > > >
> > > >
> > > > On Fri, May 30, 2008 at 10:58 PM, Christian Schalk <
> cschalk@google.com
> > >
> > > > wrote:
> > > >
> > > > > Hello Shindig-dev,
> > > > >
> > > > > As part of our code labs for Google IO, we had attendees step
> through
> > > some
> > > > > preliminary stuff with Shindig.
> > > > > Since a lot of the attendees were brand new to Shindig, they didn't
> > all
> > > get
> > > > > too far in the labs, but feel free to have a go with this codelab.
> > > > >
> > > > > http://chrisschalk.com/shindig_docs/io/shindig-io.html
> > > > >
> > > > > You'll notice that I also created patch file for the database stuff
> > > that I
> > > > > had created awhile back.
> > > > >
> > > > > Also, the PHP portion turned out to be pretty tricky if you didn't
> > have
> > > PHP
> > > > > 5.2.6, Apache 2.x and MCrypt.. So feel free to give this a try and
> > let
> > > > > Chris
> > > > > Chabot know if you have feedback!
> > > > >
> > > > >
> > > > > If you have feedback - please send it my way as we'll be refining
> > these
> > > > > into
> > > > > smaller easier labs for use elsewhere at other venues..
> > > > >
> > > > > -Chris
> > > > >
> > > > > p.s. I've noticed some clunky behavior on the new Eclipse-Maven
> > plugin
> > > > > (sonatype). It seems to have to rebuild many times...
> > > > >
> > > > > --
> > > > > Chris Schalk, Google Developer Advocate
> > > > >
> > > >
> > > >
> > > >
> > > --
> > > Santiago Gala
> > > http://memojo.com/~sgala/blog/ <http://memojo.com/%7Esgala/blog/> <
> http://memojo.com/%7Esgala/blog/> <
> > http://memojo.com/%7Esgala/blog/>
> > >
> > >
> >
> >
> > --
> > Chris Schalk, Google Developer Advocate
> >
>
>
>
> --
> Amr Khaled
> Faculty of Computers and Information
>
--
Chris Schalk, Google Developer Advocate
Re: Google IO labs for Shindig online
Posted by Amr Khaled <en...@gmail.com>.
Hi Chris
I'd like to inform you that I've successfully connected Shindig to MySQL
database through the steps you provided but with the following:
- Executed the query on Linux, Windows fails.
- Apply the patch manually.
Not using the command:
> patch -Np0 < /tmp/sql-patch.patch
>
it fails when applying the patch to SocialApiGuiceModule.java:
and it gives the following error when building:
[INFO] Compilation failure
>
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[48,33]
> cannot find symbol
> symbol : class SQLPeopleService
> location: class org.apache.shindig.social.SocialApiGuiceModule
>
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[49,31]
> cannot find symbol
> symbol : class SQLDataService
> location: class org.apache.shindig.social.SocialApiGuiceModule
>
> /home/amr/src/shindig/java/social-api/src/main/java/org/apache/shindig/social/SocialApiGuiceModule.java:[50,37]
> cannot find symbol
> symbol : class SQLActivitiesService
> location: class org.apache.shindig.social.SocialApiGuiceModule
>
Thank you very much
I'll be waiting for the solution of running the SQL script on Windows
On Mon, Jun 2, 2008 at 6:40 PM, Christian Schalk <cs...@google.com> wrote:
> I'll try this out on a windows machine today to see if I can reproduce the
> problem.
>
> I don't see anything obvious in the install script though. ?
> -Chris
>
> On Mon, Jun 2, 2008 at 4:58 AM, Santiago Gala <sa...@gmail.com>
> wrote:
>
> > El sáb, 31-05-2008 a las 02:11 +0300, Amr Khaled escribió:
> > > Hello Chris
> > > I got the following error when trying to execute the sql file
> > >
> > > Can't create table '.\opensocial\addresses.frm' (errno: 150)
> >
> > Not sure of the context, but backslash is used to quote literal inside
> > strings, so use of it can be tricky.
> >
> > Specially when it runs under linux (path separator == "/") but not under
> > windows (path separator == "\\")
> >
> > Hope this helps
> > Santiago
> >
> > > >
> > >
> > > On Fri, May 30, 2008 at 10:58 PM, Christian Schalk <cschalk@google.com
> >
> > > wrote:
> > >
> > > > Hello Shindig-dev,
> > > >
> > > > As part of our code labs for Google IO, we had attendees step through
> > some
> > > > preliminary stuff with Shindig.
> > > > Since a lot of the attendees were brand new to Shindig, they didn't
> all
> > get
> > > > too far in the labs, but feel free to have a go with this codelab.
> > > >
> > > > http://chrisschalk.com/shindig_docs/io/shindig-io.html
> > > >
> > > > You'll notice that I also created patch file for the database stuff
> > that I
> > > > had created awhile back.
> > > >
> > > > Also, the PHP portion turned out to be pretty tricky if you didn't
> have
> > PHP
> > > > 5.2.6, Apache 2.x and MCrypt.. So feel free to give this a try and
> let
> > > > Chris
> > > > Chabot know if you have feedback!
> > > >
> > > >
> > > > If you have feedback - please send it my way as we'll be refining
> these
> > > > into
> > > > smaller easier labs for use elsewhere at other venues..
> > > >
> > > > -Chris
> > > >
> > > > p.s. I've noticed some clunky behavior on the new Eclipse-Maven
> plugin
> > > > (sonatype). It seems to have to rebuild many times...
> > > >
> > > > --
> > > > Chris Schalk, Google Developer Advocate
> > > >
> > >
> > >
> > >
> > --
> > Santiago Gala
> > http://memojo.com/~sgala/blog/ <http://memojo.com/%7Esgala/blog/> <
> http://memojo.com/%7Esgala/blog/>
> >
> >
>
>
> --
> Chris Schalk, Google Developer Advocate
>
--
Amr Khaled
Faculty of Computers and Information
Re: Google IO labs for Shindig online
Posted by Christian Schalk <cs...@google.com>.
I'll try this out on a windows machine today to see if I can reproduce the
problem.
I don't see anything obvious in the install script though. ?
-Chris
On Mon, Jun 2, 2008 at 4:58 AM, Santiago Gala <sa...@gmail.com>
wrote:
> El sáb, 31-05-2008 a las 02:11 +0300, Amr Khaled escribió:
> > Hello Chris
> > I got the following error when trying to execute the sql file
> >
> > Can't create table '.\opensocial\addresses.frm' (errno: 150)
>
> Not sure of the context, but backslash is used to quote literal inside
> strings, so use of it can be tricky.
>
> Specially when it runs under linux (path separator == "/") but not under
> windows (path separator == "\\")
>
> Hope this helps
> Santiago
>
> > >
> >
> > On Fri, May 30, 2008 at 10:58 PM, Christian Schalk <cs...@google.com>
> > wrote:
> >
> > > Hello Shindig-dev,
> > >
> > > As part of our code labs for Google IO, we had attendees step through
> some
> > > preliminary stuff with Shindig.
> > > Since a lot of the attendees were brand new to Shindig, they didn't all
> get
> > > too far in the labs, but feel free to have a go with this codelab.
> > >
> > > http://chrisschalk.com/shindig_docs/io/shindig-io.html
> > >
> > > You'll notice that I also created patch file for the database stuff
> that I
> > > had created awhile back.
> > >
> > > Also, the PHP portion turned out to be pretty tricky if you didn't have
> PHP
> > > 5.2.6, Apache 2.x and MCrypt.. So feel free to give this a try and let
> > > Chris
> > > Chabot know if you have feedback!
> > >
> > >
> > > If you have feedback - please send it my way as we'll be refining these
> > > into
> > > smaller easier labs for use elsewhere at other venues..
> > >
> > > -Chris
> > >
> > > p.s. I've noticed some clunky behavior on the new Eclipse-Maven plugin
> > > (sonatype). It seems to have to rebuild many times...
> > >
> > > --
> > > Chris Schalk, Google Developer Advocate
> > >
> >
> >
> >
> --
> Santiago Gala
> http://memojo.com/~sgala/blog/ <http://memojo.com/%7Esgala/blog/>
>
>
--
Chris Schalk, Google Developer Advocate