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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> > 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 <[EMAIL PROTECTED]
> >
> > > 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 <
> > [EMAIL PROTECTED]
> > > >
> > > > > 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

Reply via email to