[Building Sakai] SAK-8908 (Tools & Pages i18n)

Daniel Merino daniel.merino at unavarra.es
Tue May 18 00:43:55 PDT 2010


Hi, Beth and everybody.

I have followed these steps: I have deployed the 1.1.6 version of kernel 
and changed the master/pom.xml. All was fine until I have tried to 
deploy the full 2.6.2 version and I get a build failure in Metaobj:

[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

/apps/sakai/sakai-2.6.2/metaobj/metaobj-api/api/src/java/org/sakaiproject/metaobj/shared/mgt/ContentEntityWrapper.java:[43,7] 
org.sakaiproject.metaobj.shared.mgt.ContentEntityWrapper is not abstract 
and does not override abstract method getContentLength() in 
org.sakaiproject.content.api.ContentResource

/apps/sakai/sakai-2.6.2/metaobj/metaobj-api/api/src/java/org/sakaiproject/metaobj/shared/mgt/ContentEntityWrapper.java:[55,19] 
getContentLength() in 
org.sakaiproject.metaobj.shared.mgt.ContentEntityWrapper cannot 
implement getContentLength() in 
org.sakaiproject.content.api.ContentResource; attempting to use 
incompatible return type
found   : int
required: long

/apps/sakai/sakai-2.6.2/metaobj/metaobj-api/api/src/java/org/sakaiproject/metaobj/shared/mgt/ContentEntityWrapper.java:[57,44] 
possible loss of precision
found   : long
required: int

Does anybody know where can be the problem?

Thanks in advance.

Beth Kirschner escribió:
> First of all, I'd revert the patch from the SAK-8908 branch -- this 
> not the final version was applied to trunk, so doesn't represent a 
> complete solution. You may optionally want to apply r65603, which 
> contains some cleaned up page/tool title translations.
>
> Next I would download the Kernel 1.1.6 tag (which looks like the 
> latest tag) at 
> https://source.sakaiproject.org/svn/kernel/tags/kernel-1.1.6/, then 
> build and deploy. Next, modify the master pom.xml file 
> (sakai/master/pom.xml) and change the sakai.kernel.version to 1.1.6, 
> then generate a clean build from your 2.6.2 source.
>
> - Beth
>
> On May 17, 2010, at 12:14 PM, daniel.merino at unavarra.es wrote:
>
>> Beth, I installed the 2.6.2 version of Sakai downloaded from the 
>> official
>> repository branch, and it came with the 1.0.13 version of the kernel. I
>> didn't change any pom.xml to deploy it.
>>
>> How can I upgrade the kernel to 1.1 version in order to make it work?
>>
>> Thanks for your help.
>>
>> El Lun, 17 de Mayo de 2010, 17:39, Beth Kirschner escribió:
>>> You'll need the 1.1 version of the kernel for this to work properly.
>>> It also sounds like you've changed some kernel-version-dependencies to
>>> sakai-version-dependencies in the pom.xml files.
>>>
>>> - Beth
>>>
>>> On May 17, 2010, at 8:59 AM, Daniel Merino wrote:
>>>
>>>> I have discovered a thread about this issue here:
>>>> http://collab.sakaiproject.org/pipermail/sakai-dev/2009-October/004141.html 
>>>>
>>>> where I understand that SAK-8908 isn't included in 2.6.x until is
>>>> fully
>>>> tested.
>>>>
>>>> I have downloaded the SAK-8908
>>>> (https://source.sakaiproject.org/svn/site/branches/SAK-8908/) and I
>>>> have
>>>> changed the version in the poms (2.6.2 instead of M2), but I receive 6
>>>> missing dependencies, i.e:
>>>>
>>>> /1) org.sakaiproject:sakai-component:jar:2.6.2
>>>>
>>>> Try downloading the file manually from the project website.
>>>>
>>>> Then, install it using the command:
>>>>     mvn install:install-file -DgroupId=org.sakaiproject
>>>> -DartifactId=sakai-component -Dversion=2.6.2 -Dpackaging=jar
>>>> -Dfile=/path/to/file
>>>>
>>>> Alternatively, if you host your own repository you can deploy the
>>>> file
>>>> there:
>>>>     mvn deploy:deploy-file -DgroupId=org.sakaiproject
>>>> -DartifactId=sakai-component -Dversion=2.6.2 -Dpackaging=jar
>>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>>
>>>> Path to dependency:
>>>>       1) org.sakaiproject:sakai-site-api:jar:2.6.2
>>>>       2) org.sakaiproject:sakai-component:jar:2.6.2/
>>>>
>>>> Looking in the master/pom.xml of the 2.6.2, these dependencies are
>>>> commented, i.e:
>>>>
>>>> /<!--org.sakaiprojectsakai-component${sakai.version}provided-->
>>>> <!--org.sakaiprojectsakai-site-api${sakai.version}provided-->/
>>>>
>>>> What should I do with these dependencies? Trying to add them to
>>>> 2.6.2 or
>>>> trying to remove them from SAK-8908?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Daniel Merino escribió:
>>>>> Hi everybody.
>>>>>
>>>>> I have recently installed a Sakai 2.6.2 and I though that SAK-8908
>>>>> would
>>>>> be included in it, but I'm not able to get the tools and pages titles
>>>>> dinamically changed as I change my user's language. The tools and
>>>>> pages
>>>>> are showed in the Tomcat's language (spanish) and they don't change.
>>>>>
>>>>> The binary kernel version is the 1.0.13 and I think that this version
>>>>> has the patch included. Is it necessary to do something more to
>>>>> make it run?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>
>>>> -- 
>>>> Daniel Merino Echeverría
>>>> daniel.merino at unavarra.es
>>>> Gestor de teleformación - Centro Superior de Innovación Educativa.
>>>> Tfno: 948-168489 - Universidad Pública de Navarra.
>>>> -- 
>>>> Tener la conciencia limpia es síntoma de mala memoria. (Les Luthiers)
>>>> _______________________________________________
>>>> 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"
>>>>
>>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> 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"
>>
>>
>
>

-- 
Daniel Merino Echeverría
daniel.merino at unavarra.es
Gestor de teleformación - Centro Superior de Innovación Educativa.
Tfno: 948-168489 - Universidad Pública de Navarra.
--
Ella está en el horizonte... camino dos pasos y ella camina dos pasos, 
camino diez pasos y ella camina diez pasos. Por mucho que camine nunca 
la alcanzaré. ¿Para qué sirve entonces la utopía?. Para eso sirve: para 
caminar.


More information about the sakai-dev mailing list