[Building Sakai] Create Turnitin Class & Assignment Process Flow in SAKAI
Wagner, Michelle R.
wagnermr at iupui.edu
Fri Jan 6 11:19:17 PST 2012
Hi Paul,
It looks like your build failed because there is a new method in the GradebookService for Sakai 2.9 (isPointsPossibleValid) that is not implemented in org.sakaiproject.assignment2.logic.test.stubs.GradebookServiceStub in Assignment2 1.0. Assignment2 uses a mock of the GradebookService for its unit tests since the two tools are so tightly integrated. I believe for now you can build with unit tests turned off to avoid this error (or add the unimplemented method locally). It may be time for an updated release of Assignment2 to work against 2.9 with unit tests turned on.
Have a great day,
Michelle
________________________________
From: sakai-dev-bounces at collab.sakaiproject.org [sakai-dev-bounces at collab.sakaiproject.org] on behalf of Paul Mungai [paulwando at gmail.com]
Sent: Friday, January 06, 2012 12:27 PM
To: sakai-dev Developers
Subject: Re: [Building Sakai] Create Turnitin Class & Assignment Process Flow in SAKAI
Thanks David.
Just noted that for assignment2 (tag 1.0), one needs to first deploy the following dependencies:
sakai-announcement-api-2.9-SNAPSHOT
sakai-assignment-api-2.9-SNAPSHOT
sakai-calendar-api-2.9-SNAPSHOT
sakai-message-api-2.9-SNAPSHOT
sakai-mock-2.9-SNAPSHOT
sakai-taggable-api-2.9-SNAPSHOT
slf4j-log4j12-1.4.3
However, the build (offline) for assignment2 still fails. The following error appears:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /opt/sakai-2.8.0/assignment-tags-1.0/impl/src/test/org/sakaiproject/assignment2/logic/test/stubs/GradebookServiceStub.java:[57,7] org.sakaiproject.assignment2.logic.test.stubs.GradebookServiceStub is not abstract and does not override abstract method isPointsPossibleValid(java.lang.String,org.sakaiproject.service.gradebook.shared.Assignment,java.lang.Double) in org.sakaiproject.service.gradebook.shared.GradebookService
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/opt/sakai-2.8.0/assignment-tags-1.0/impl/src/test/org/sakaiproject/assignment2/logic/test/stubs/GradebookServiceStub.java:[57,7] org.sakaiproject.assignment2.logic.test.stubs.GradebookServiceStub is not abstract and does not override abstract method isPointsPossibleValid(java.lang.String,org.sakaiproject.service.gradebook.shared.Assignment,java.lang.Double) in org.sakaiproject.service.gradebook.shared.GradebookService
Could the previous deployment of assignment1 affect this?
--
Regards,
Paul Mungai
"Ability is what youre capable of doing. Motivation determines what you do. Attitude determines how well you do it" By Lou Holtz, Notre Dame Football Coach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120106/a6056e39/attachment.html
More information about the sakai-dev
mailing list