[Building Sakai] Lesson Builder 1.3.x and building with Sakai 2.7.1 question

Eric Jeney jeney at rutgers.edu
Fri Aug 19 11:21:31 PDT 2011


The pages should transfer without any issue.

On Fri, Aug 19, 2011 at 1:56 PM, Walters, Cynthia (cmw6s) <
cmw6s at eservices.virginia.edu> wrote:

>  Thank-you, Charles, that sounds great.
>
> A question arises... if folks start creating pages and content with LB
> 1.2.2 and we upgrade soon to 1.3.x, what sort of migration process would
> they follow (if any) to continue to use their LB pages and content?
>
> Thanks again,
> Cindy / UVa
>
>
>  ------------------------------
> *From:* Charles Hedrick [hedrick at rutgers.edu]
> *Sent:* Friday, August 19, 2011 1:23 PM
> *To:* Walters, Cynthia (cmw6s)
> *Cc:* Matthew Jones; sakai-dev at collab.sakaiproject.org
>
> *Subject:* Re: [Building Sakai] Lesson Builder 1.3.x and building with
> Sakai 2.7.1 question
>
>   We'll fix it to use a pattern that works with 2.7.
>
>  On Aug 19, 2011, at 12:20 PM, Walters, Cynthia (cmw6s) wrote:
>
>   Matthew, thank you for your feedback.  This is good information to know.
> Appreciate it,
> Cindy
>
>  ------------------------------
> *From:* sakai-dev-bounces at collab.sakaiproject.org [
> sakai-dev-bounces at collab.sakaiproject.org] on behalf of Matthew Jones [
> jonespm at umich.edu]
> *Sent:* Friday, August 19, 2011 11:42 AM
> *To:* Walters, Cynthia (cmw6s)
> *Cc:* sakai-dev at collab.sakaiproject.org
> *Subject:* Re: [Building Sakai] Lesson Builder 1.3.x and building with
> Sakai 2.7.1 question
>
>  It looks like lessonbuilder is using the popAdvisor(SecurityAdvisor)
> method recommended and added in the 1.2 kernel in
> https://jira.sakaiproject.org/browse/KNL-542. You'll either need to add
> this method to a custom kernel you have, upgrade to 2.8+ (where that kernel
> is used), or modify lesson builder to reflect/wrap around it (or use the old
> pattern mentioned in the jira).
>
>  So this would currently make lesson builder only 2.8+ compatible.
>
>  -Matthew
>
> On Fri, Aug 19, 2011 at 11:29 AM, Walters, Cynthia (cmw6s) <
> cmw6s at eservices.virginia.edu> wrote:
>
>>  Hello Charles:
>>
>> Here at UVa, we are excited about the features and improvements in Lesson
>> Builder 1.3.x. I have downloaded it, but I have not been able to get it to
>> build completely with our Sakai 2.7.1 tag source.  (Background: we build all
>> the source, including kernel and pure-poms, and we append ".uva" to all
>> version numbers.)
>>
>> With the previous 1.2.2 version of LB, it built and ran easily, with only
>> some version number changes, as you suggested.  We changed the <parent>
>> version number in the top pom.xml file, like this, to reference our
>> 2.7.1.uva version number:
>>
>>   <parent>
>>     <artifactId>master</artifactId>
>>     <groupId>org.sakaiproject</groupId>
>>     <relativePath>../master/pom.xml</relativePath>
>>     <version>2.7.1.uva</version>
>> <!--   <version>M2</version>--><!-- 2.5.x -->
>>   </parent>
>>
>>
>> Now, I see a key change in the 1.3.x top pom.xml file ...  The 1.2.2
>> <parent> refers to the 'master' project;  in 1.3.x it refers to
>> 'pure-poms'.  In Sakai 2.7.1, the pure-poms project has its own version
>> number, different from the Sakai version (for us, it is 2.7.10.uva).
>>
>> When I attempt to build 1.3.x using our pure-poms version, like this:
>>     <parent>
>>         <groupId>org.sakaiproject.purepoms</groupId>
>>         <artifactId>sakai-edu-tool</artifactId>
>>         <version>2.7.10.uva</version>          <!-- UVa 2.7.1 pure-poms is
>> 2.7.10.uva -->
>>         <!-- <version>2.9-SNAPSHOT</version> -->
>>         <!-- <version>2.8.1</version> --> <!-- purepom deployed with
>> sakai-2.8.0 -->
>>     </parent>
>>
>>
>> ... I see the following compile errors from the 'tool' directory -- and
>> wonder if I should change the <parent> section back to referring to
>> 'master', as it did in 1.2.2?  Or, if there is a change you recommend
>> related to the SecurityAdvisor errors that I can make in 2.7.1 or LB 1.3.x
>> source?  I have not explored this latter possibility, and welcome your
>> comments.
>>
>> Compile errors (mvn compile):
>> [INFO] Compiling 70 source files to
>> /usr/local/sakai/sakai_2-7-x_dev/tools/lessonbuilder/tool/target/classes
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> /usr/local/sakai/sakai_2-7-x_dev/tools/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java:[2504,44]
>> popAdvisor() in org.sakaiproject.authz.api.SecurityService cannot be applied
>> to (org.sakaiproject.authz.api.SecurityAdvisor)
>>
>> /usr/local/sakai/sakai_2-7-x_dev/tools/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java:[3896,38]
>> popAdvisor() in org.sakaiproject.authz.api.SecurityService cannot be applied
>> to (org.sakaiproject.authz.api.SecurityAdvisor)
>>
>> /usr/local/sakai/sakai_2-7-x_dev/tools/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java:[4293,38]
>> popAdvisor() in org.sakaiproject.authz.api.SecurityService cannot be applied
>> to (org.sakaiproject.authz.api.SecurityAdvisor)
>>
>> /usr/local/sakai/sakai_2-7-x_dev/tools/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java:[4429,42]
>> popAdvisor() in org.sakaiproject.authz.api.SecurityService cannot be applied
>> to (org.sakaiproject.authz.api.SecurityAdvisor)
>>
>> /usr/local/sakai/sakai_2-7-x_dev/tools/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/service/LessonBuilderAccessService.java:[311,25]
>> popAdvisor() in org.sakaiproject.authz.api.SecurityService cannot be applied
>> to (org.sakaiproject.authz.api.SecurityAdvisor)
>>
>> /usr/local/sakai/sakai_2-7-x_dev/tools/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/service/LessonBuilderAccessService.java:[363,61]
>> popAdvisor() in org.sakaiproject.authz.api.SecurityService cannot be applied
>> to (org.sakaiproject.authz.api.SecurityAdvisor)
>>
>> /usr/local/sakai/sakai_2-7-x_dev/tools/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/service/LessonBuilderAccessService.java:[526,57]
>> popAdvisor() in org.sakaiproject.authz.api.SecurityService cannot be applied
>> to (org.sakaiproject.authz.api.SecurityAdvisor)
>>
>>
>>
>> It is important for us to be able to build with our Sakai 2.7.1 versions
>> of kernel and other jars, because we have made local changes.  So, building
>> with the <parent> set to 2.8.1, which does work, is not a good option
>> because it downloads community versions of kernel and other files.
>>
>> Also, I have tried changing the value to our version of sakai (2.7.1.uva),
>> but it fails to build because that is not the pure-poms version.
>>
>> Interested to know if you think my changing the <parent> to refer to
>> 'master' (as it did in 1.2.2) is a viable possibility?  Or, should we return
>> to LB 1.2.2 as long as we are running Sakai 2.7.1?
>>
>> Thanks for your feedback,
>> Cynthia Walters
>> University of Virginia
>>
>>
>>
>> _______________________________________________
>> 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"
>
>
>
> _______________________________________________
> 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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110819/95761284/attachment.html 


More information about the sakai-dev mailing list