[Building Sakai] Which version of the SCORM player must I use?

Robert Long rlong at unicon.net
Fri Aug 29 07:19:39 PDT 2014


Jeremy,

Here’s a patch of the changes I had to do to get scorm to build in 2.9.1. In addition, you’ll have to grab the source for sakai-wicket-for-scorm and build that too:

svn co https://source.sakaiproject.org/contrib/edia/sakai-wicket-for-scorm/tags/3.0.1 sakai-wicket

—Bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scorm.patch
Type: application/octet-stream
Size: 3514 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140829/a4e6e545/attachment.obj 
-------------- next part --------------

----
Robert Long
Software Engineer
Technical Account Manager - Sakai
Unicon, Inc.

----
M.A., Instructional Technology
Saginaw Valley State University

On Aug 29, 2014, at 4:21 AM, Jeremy O'Connor <joconnor at uwc.ac.za> wrote:

> Hi
> 
> Now I get:
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Sakai Scorm Project ............................... SUCCESS
> [2.450s]
> [INFO] sakai-scorm-api ................................... SUCCESS
> [12.342s]
> [INFO] sakai-scorm-adl-impl .............................. SUCCESS
> [35.098s]
> [INFO] sakai-scorm-content-impl .......................... SUCCESS
> [2.680s]
> [INFO] sakai-scorm-model-impl ............................ FAILURE
> [2:47.651s]
> [INFO] sakai-scorm-client-impl ........................... SKIPPED
> [INFO] sakai-scorm-service-impl .......................... SKIPPED
> [INFO] sakai-scorm-pack .................................. SKIPPED
> [INFO] sakai-scorm-tool .................................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:41.601s
> [INFO] Finished at: Fri Aug 29 10:11:45 CAT 2014
> [INFO] Final Memory: 26M/491M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project sakai-scorm-model-impl: Could
> not resolve dependencies for
> project org.sakaiproject.scorm:sakai-scorm-model-impl:jar:3.1.7: Could
> not find artifact net.sf.ehc
> ache:ehcache:jar:2.5.1 in sakai-maven
> (http://source.sakaiproject.org/maven2) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following arti
> cles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> 
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command
> [ERROR]   mvn <goals> -rf :sakai-scorm-model-impl
> 
> --
> Jeremy O'Connor
> 
>>>> On 28 August 2014 at 03:09 PM, Robert Long <rlong at unicon.net>
> wrote:
>> You should add the line:
>> 
>> <version>${sakai.ehcache.version}</version>
>> 
>> to the dependency:
>> 
>> <dependency>
>>    <groupId>net.sf.ehcache</groupId>
>>    <artifactId>ehcache</artifactId>
>>    <type>jar</type>
>>    <scope>test</scope>
>> </dependency>   
>> 
>> in both files:
>> 
>> C:\dev\sakai-2.9.1\scorm\scorm-impl\model\pom.xml
>> C:\dev\sakai-2.9.1\scorm\scorm-tool\pom.xml
>> 
>> —Bob
>> 
>> ----
>> Robert Long
>> Software Engineer
>> Technical Account Manager - Sakai
>> Unicon, Inc.
>> 
>> ----
>> M.A., Instructional Technology
>> Saginaw Valley State University
>> 
>> On Aug 28, 2014, at 5:37 AM, Jeremy O'Connor <joconnor at uwc.ac.za>
> wrote:
>> 
>>> Hi
>>> 
>>> I installed the 3.1.7/ tag and when I tried to build the scorm tool
> I got:
>>> 
>>> C:\dev\sakai-2.9.1\scorm>mvn clean install sakai:deploy
> -Dmaven.test.skip=true 
>> -Dmaven.tomcat.home=C
>>> :\tomcat
>>> [INFO] Scanning for projects...
>>> [ERROR] The build could not read 2 projects -> [Help 1]
>>> [ERROR]
>>> [ERROR]   The project
> org.sakaiproject.scorm:sakai-scorm-model-impl:3.1.7 
>> (C:\dev\sakai-2.9.1\scorm\
>>> scorm-impl\model\pom.xml) has 1 error
>>> [ERROR]     'dependencies.dependency.version' for
> net.sf.ehcache:ehcache:jar 
>> is missing. @ line 57,
>>> column 17
>>> [ERROR]
>>> [ERROR]   The project org.sakaiproject.scorm:sakai-scorm-tool:3.1.7
> 
>> (C:\dev\sakai-2.9.1\scorm\scorm-
>>> tool\pom.xml) has 1 error
>>> [ERROR]     'dependencies.dependency.version' for
> net.sf.ehcache:ehcache:jar 
>> is missing. @ line 105,
>>> column 17
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e 
>> switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible
> solutions, please 
>> read the following arti
>>> cles:
>>> [ERROR] [Help 1] 
>> 
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> 
>>> 
>>> --
>>> Jeremy O'Connor
>>> 
>>>>>> On 27 August 2014 at 11:30 AM, "Jeremy O'Connor"
> <joconnor at uwc.ac.za> wrote:
>>>> Hi
>>>> 
>>>> According to the following page: 
>>>> 
>> 
> https://confluence.sakaiproject.org/display/SCORMPLAYER/Sakai+SCORM+player+in
> 
>> 
>>>> stallation+guide
>>>> 
>>>> under: 2.9 Compatibility
>>>> Step 2 - Check out, modify and deploy the SCORM player
>>>> 1.Check out the source (use the latest tagged version): 
>>>> 
>>>> says use the following command:
>>>> 
>>>> svn co 
>>>> 
>> 
> https://source.sakaiproject.org/contrib/scorm/SCORM.2004.3ED.RTE/tags/sakai-sc
> 
>> 
>>>> orm-base-3.0.3/ scorm
>>>> 
>>>> These are the available versions:
>>>> 
>>>> C:\Temp>svn list 
>>>> 
> https://source.sakaiproject.org/contrib/scorm/SCORM.2004.3ED.RTE/tags/
> 
>>>> 3.0.0/
>>>> 3.0.1/
>>>> 3.0.2/
>>>> 3.0.4/
>>>> 3.0.5/
>>>> 3.1.0/
>>>> 3.1.1/
>>>> 3.1.2/
>>>> 3.1.3/
>>>> 3.1.4/
>>>> 3.1.5/
>>>> 3.1.6/
>>>> 3.1.7/
>>>> sakai-scorm-base-3.0.3/
>>>> 
>>>> We are running Sakai 2.9.1. Should I use the
> "sakai-scorm-base-3.0.3/" tag or 
>>>> the "3.1.7/" tag?
>>>> 
>>>> --
>>>> Jeremy O'Connor
>>>> 
>>>> _______________________________________________
>>>> 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"
> 
> 



More information about the sakai-dev mailing list