[Building Sakai] Sitestats 2 and EntityBroker 2-5-x

Nuno Fernandes nuno at ufp.edu.pt
Mon Aug 24 01:48:24 PDT 2009


Hi Magdaleen,
>From the error you are using Sakai 2.5.x branch without a doubt, but, are
you sure you're using the SiteStats branch for 2.5.x (I am saying this
because the errors presented suggest maven is looking for classes only
available on Sakai 2.6.x)?

Can you please double check it by executing the command below and compare to
the URL below? There are branches for both Sakai 2.5.x and 2.6.x so it
should be easy to pick up the wrong one...

Check SiteStats URL:
*svn info /data/sakai/src/sakai_2-5-x/**sitestats*

URL:
*
https://source.sakaiproject.org/contrib/ufp/sitestats/branches/sitestats_2-0-x_2.5.x
*

I have compiled this branch for Sakai 2.5.x just now and it went smoothly.
Assuming the problem is not with branch itself, make sure the version below
in sitestats/pom.xml points to the correct Sakai version:

<!-- Parent: Sakai master pom -->
  <parent>
    <artifactId>master</artifactId>
    <groupId>org.sakaiproject</groupId>
    <!-- EDIT ME: Sakai Version -->
    <version>M2</version>
...
NOTE: you can check the correct Sakai version by executing:
*cat /data/sakai/src/sakai_2-5-x/master/pom.xml | grep "<sakai.version>"*

Also, I update right now all the branches with a new fix, you should also
execute the following to update the source before compiling:
*svn up /data/sakai/src/sakai_2-5-x/**sitestats*

Please let me know how it went!

Hope it helps,
Nuno


2009/8/24 Arlow, Magdaleen <Arlowm at unisa.ac.za>

>  This message (and attachments) is subject to restrictions and a
> disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full
> details.
>  ------------------------------
>
>  Hi Nuno
>
>
>
> We are using this branch, but we get this error :
>
>
>
>
>
> [INFO] [compiler:testCompile]
>
> [INFO] Compiling 30 source files to
> /data/sakai/src/sakai_2-5-x/sitestats/sitestats-impl/m2-target/test-classes
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Compilation failure
>
>
>
> /data/sakai/src/sakai_2-5-x/sitestats/sitestats-impl/src/test/org/sakaiproject/sitestats/test/mocks/FakeEventTrackingService.java:[9,34]
> cannot find symbol
>
> symbol  : class EventDelayHandler
>
> location: package org.sakaiproject.event.api
>
>
>
> /data/sakai/src/sakai_2-5-x/sitestats/sitestats-impl/src/test/org/sakaiproject/sitestats/test/mocks/FakeEventTrackingService.java:[66,41]
> cannot find symbol
>
> symbol  : class EventDelayHandler
>
> location: class
> org.sakaiproject.sitestats.test.mocks.FakeEventTrackingService
>
>
>
> /data/sakai/src/sakai_2-5-x/sitestats/sitestats-impl/src/test/org/sakaiproject/sitestats/test/StatsUpdateManagerTest.java:[120,31]
> cannot find symbol
>
> symbol  : method getContext()
>
> location: interface org.sakaiproject.event.api.Event
>
>
>
> It seems to be looking for classes in event that do not exist. Any
> suggestions?
>
>
>
> Kind regards
>
> Magdaleen Arlow
>
> For Unisa’s support team
>
>
>
>
>
> *From:* sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] *On Behalf Of *Nuno Fernandes
> *Sent:* 20 August 2009 01:41 PM
> *To:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Sitestats 2 and EntityBroker 2-5-x
>
>
>
> Hi Stuart,
>
>
>
> No, actually that feature is only available on Sakai 2.6.x (and SiteStats
> 2.0 for Sakai 2.6.x). I should use a SiteStats 2.0 branch for 2.5.x
> available on the link below. There are some features that depend on Sakai
> 2.6.x which have been removed from this 2.5.x build:
>
>    - Limited tool support when comparing to original 2.0 version for Sakai
>    2.6.x (unless SAK-10801 is applied);
>    - Automatic event registration for tools implementing Entitybroker
>    Statisticable capability is NOT supported in Sakai 2.5.x
>
>
>
> *SiteStats 2.0 branch for 2.5.x:*
>
>
> https://source.sakaiproject.org/contrib/ufp/sitestats/branches/sitestats_2-0-x_2.5.x
>
>
>
> Let me know how it went!
>
>
>
> Hope it helps,
>
> Nuno
>
>
>
> 2009/8/19 D. Stuart Freeman <stuart.freeman at et.gatech.edu>
>
> I'm trying to deploy the sitestats 2 tag into sakai 2.5.x.  When I try to
> start up tomcat, I get the following error:
>
> loadComponentPackage: exception loading:
> /opt/sakai/tomcat/components/sakai-sitestats-components/WEB-INF/components.xml
> : org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Class that bean class
> [org.sakaiproject.sitestats.impl.event.EntityBrokerEventRegistry] depends on
> not found
>
> This appears to be related to SAK-14370, where the last comment was made
> on Sep 14, 2008.  Is this still a candidate for merge into 2.5.x?
>
> --
> D. Stuart Freeman
> Georgia Institute of Technology
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkqMYB4ACgkQ74jXllI0CXQ8RACeIAhUM72miCaK0lZuSZQ5C6tY
> WsMAni1bnGdm+nzISpHKPizlgTpceYcu
> =9seY
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
>
>
>
> --
> Nuno Fernandes  [www.linkedin.com/in/nfgrilo]
> Software Developer - UFP-UV  [Universidade Virtual]
> Software Developer - Sakai Foundation  [sakaiproject.org]
> Sakai Fellow 2008 - Sakai Foundation  [
> confluence.sakaiproject.org/confluence/x/FIF9AQ]
>
> Universidade Fernando Pessoa  [www.ufp.pt]
> Praça 9 de Abril, 349
> 4249-004 Porto
> tel: + 351 22 507 13 00
> fax: + 351 22 550 82 69
>



-- 
Nuno Fernandes  [www.linkedin.com/in/nfgrilo]
Software Developer - UFP-UV  [Universidade Virtual]
Software Developer - Sakai Foundation  [sakaiproject.org]
Sakai Fellow 2008 - Sakai Foundation  [
confluence.sakaiproject.org/confluence/x/FIF9AQ]

Universidade Fernando Pessoa  [www.ufp.pt]
Praça 9 de Abril, 349
4249-004 Porto
tel: + 351 22 507 13 00
fax: + 351 22 550 82 69
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090824/bcaf3e94/attachment.html 


More information about the sakai-dev mailing list