OSDE tracking Shindig trunk

4 views
Skip to first unread message

๏̯͡๏ Jasvir Nagra

unread,
Jul 31, 2010, 3:11:28 AM7/31/10
to opensocial-develo...@googlegroups.com
Hi,

I see that the osde/shindig/ subdirectory has snapshots from the shindig codebase, however, the snapshots are from when shindig was still in incubator.  What changes do I need to make to try out osde with current shindig trunk?  In particular, is the version in osde/shindig/shindig_* modified after being taken from shindig?

Regards
Jasvir

-- 
Jasvir Nagra
http://www.cs.auckland.ac.nz/~jas

Robson Dantas

unread,
Aug 4, 2010, 11:24:34 PM8/4/10
to opensocial-develo...@googlegroups.com
Hi Jasvir!

I asked to Yoichiro some time ago to update OSDE shindig to a newer version, due problems on opensocial-templates. I took another war from shindig repository, I think beta 5, and just replaced keeping with the same name. Worked fine for what was testing.

Give it a try.

-Robson Dantas

2010/7/31 ๏̯͡๏ Jasvir Nagra <jas...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "OpenSocial Development Environment" group.
To post to this group, send email to opensocial-develo...@googlegroups.com
To unsubscribe from this group, send email to opensocial-development-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/opensocial-development-environment

๏̯͡๏ Jasvir Nagra

unread,
Aug 5, 2010, 11:45:31 AM8/5/10
to opensocial-develo...@googlegroups.com
Thanks.  I got some errors the last time I tried but I wasn't being especially careful - let me try it again, and if I get errors, submit them to the tracker.  The reason I thought a drop-in replacement was probably not the right thing to do was:

$ cd osde/shindig/shindig_944740/
$ find . | grep osde | wc -l
      16
$ grep -ri osde * | wc -l
      56
$
$ cd ../shindig-pristine
$ find . | grep osde | wc -l
       0
$ grep -ri osde * | wc -l
       0

Albert Cheng

unread,
Aug 6, 2010, 2:29:34 AM8/6/10
to opensocial-develo...@googlegroups.com
Great.

Can anyone help to integrate it into OSDE?

I can help to setup the necessary access rights.

thanks.

albert

๏̯͡๏ Jasvir Nagra

unread,
Aug 8, 2010, 9:28:55 PM8/8/10
to opensocial-develo...@googlegroups.com
Starting from a pristine unmodified checkout of OSDE and following the instructions at http://code.google.com/p/opensocial-development-environment/wiki/HowToContributeToOsde#How_to_build_Apache_Shindig_for_OSDE, I get 74 test errors for shindig/shindig_796905/ (attached below).

Tests in error: 
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.MediaItemImplTest)
  testActivities(org.apache.shindig.social.opensocial.hibernate.entities.MediaItemImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.ApplicationDataMapImplTest)
  testDataMap(org.apache.shindig.social.opensocial.hibernate.entities.ApplicationDataMapImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.AddressImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.UrlImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.PhoneNumberImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.SmokerImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testActivities(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testQueryFindByPersonId(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testProfileVideo(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testProfileSong(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testProfileUrl(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testUrls(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testThumbnailUrl(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testCurrentLocation(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testAddresses(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testOrganizations(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testPhotos(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testPhoneNumbers(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testIms(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testEmails(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testTvShows(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testTurnOns(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testTurnOffs(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testTags(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testSports(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testQuotes(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testMusic(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testMovies(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testLanguagesSpoken(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testInterests(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testHeroes(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testFood(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testCars(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testBooks(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testAccounts(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testLookingFor(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testAppData(org.apache.shindig.social.opensocial.hibernate.entities.PersonImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.DrinkerImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.BodyTypeImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.EmailImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.ImImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.ApplicationImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.AccountImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.NetworkPresenceImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.ApplicationMemberImplTest)
  testGetPerson(org.apache.shindig.social.opensocial.hibernate.services.PersonServiceImplTest)
  testIsViewerOwner(org.apache.shindig.social.opensocial.hibernate.services.PersonServiceImplTest)
  testGetIdSet(org.apache.shindig.social.opensocial.hibernate.services.PersonServiceImplTest)
  testGetPeople(org.apache.shindig.social.opensocial.hibernate.services.PersonServiceImplTest)
  testGetPeopleHasApp(org.apache.shindig.social.opensocial.hibernate.services.PersonServiceImplTest)
  testGetActivities1(org.apache.shindig.social.opensocial.hibernate.services.ActivityServiceImplTest)
  testGetActivities2(org.apache.shindig.social.opensocial.hibernate.services.ActivityServiceImplTest)
  testGetActivity(org.apache.shindig.social.opensocial.hibernate.services.ActivityServiceImplTest)
  testDeleteActivities(org.apache.shindig.social.opensocial.hibernate.services.ActivityServiceImplTest)
  testCreateActivity(org.apache.shindig.social.opensocial.hibernate.services.ActivityServiceImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.UserPrefImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.RelationshipImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.LookingForImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.PhotoImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.OrganizationImplTest)
  testAddress(org.apache.shindig.social.opensocial.hibernate.entities.OrganizationImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.ActivityImplTest)
  testTemplateParams(org.apache.shindig.social.opensocial.hibernate.entities.ActivityImplTest)
  testMediaItems(org.apache.shindig.social.opensocial.hibernate.entities.ActivityImplTest)
  testUpdatePersonDataForbidden(org.apache.shindig.social.opensocial.hibernate.services.AppDataServiceImplTest)
  testUpdatePersonData(org.apache.shindig.social.opensocial.hibernate.services.AppDataServiceImplTest)
  testGetPersonData(org.apache.shindig.social.opensocial.hibernate.services.AppDataServiceImplTest)
  testDeletePersonDataForbidden(org.apache.shindig.social.opensocial.hibernate.services.AppDataServiceImplTest)
  testDeletePersonData(org.apache.shindig.social.opensocial.hibernate.services.AppDataServiceImplTest)
  testDeletePersonDataAll(org.apache.shindig.social.opensocial.hibernate.services.AppDataServiceImplTest)
  testSimple(org.apache.shindig.social.opensocial.hibernate.entities.NameImplTest)

Tests run: 74, Failures: 0, Errors: 74, Skipped: 0


For shindig_735392/, the build occurs correctly and I am able to copy the appropriate jars, however, when I try to start Eclipse, I get an exception in the Eclipse console:

org.hibernate.HibernateException: Can't build hibernate sessionactory.
at org.apache.shindig.social.opensocial.hibernate.utils.HibernateUtils.init(HibernateUtils.java:72)
at org.apache.shindig.social.opensocial.hibernate.utils.HibernateUtils.initialize(HibernateUtils.java:45)
at org.apache.shindig.social.opensocial.hibernate.utils.OpenSessionInViewFilter.init(OpenSessionInViewFilter.java:38)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:644)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at Main.main(Main.java:31)
Caused by: org.hibernate.MappingException: Unable to load class declared as <mapping class="org.apache.shindig.social.opensocial.hibernate.entities.ApplicationMemberImpl"/> in the configuration:
at org.hibernate.cfg.AnnotationConfiguration.parseMappingElement(AnnotationConfiguration.java:545)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1555)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1534)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1508)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1462)
at org.apache.shindig.social.opensocial.hibernate.utils.HibernateUtils.init(HibernateUtils.java:67)
... 17 more 

For shindig_944740, the build fails to find org.h2.Driver and shindig does not compile. 
Reply all
Reply to author
Forward
0 new messages