[Building Sakai] Sakai 2.7.1, Assignments 2 and TII integration

Boyd, Amy E amyboyd at txstate.edu
Mon Aug 15 10:01:16 PDT 2011


Bryan -

Thank you.  I did remove the jar files from tomcat, and I forgot to properly update the pom.xml file under the impl directory to properly list the new version.  After doing so - a clean tomcat, fresh checkout (I used branches/contentreview-2.9.x now instead of the 2.9.0 tag) and trying it all over again, I no longer have the previous error, but I do have a new one.  Any idea what could cause this:

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/Users/aboyd/dev/hg_tracs/hg_tracs_clone/src/content-review/turnitin/impl/src/java/org/sakaiproject/contentreview/impl/turnitin/TurnitinReviewServiceImpl.java:[101,7] org.sakaiproject.contentreview.impl.turnitin.TurnitinReviewServiceImpl is not abstract and does not override abstract method getLocalizedStatusMessage(java.lang.String,java.util.Locale) in org.sakaiproject.contentreview.service.ContentReviewService

Again, any help is appreciated.  This is the first build failure I've received.  Maybe a problem between the 2.9.x branch and TII 0.6?


From: Bryan Holladay [mailto:holladay at longsight.com]
Sent: Monday, August 15, 2011 11:08 AM
To: Boyd, Amy E
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Sakai 2.7.1, Assignments 2 and TII integration

First, I'd check for duplicate jars... or just start from scratch:

rm -rvf components/sakai-content-review-pack/
rm -rvf shared/lib/contentreview-*
rm -rvf shared/lib/sakai-contentreview*
rm -rvf webapps/sakai-contentreview-tool*

Then make sure you are using 2.9.x (like you said you were above) inside the content review

https://source.sakaiproject.org/svn/content-review/branches/contentreview-2.9.x/

then checkout the correct TII and update the pom:

contentreview-impl/pom.xml

<dependency>
<groupId>org.sakaiproject.contentreview</groupId>
<artifactId>contentreview-model-api</artifactId>
- <version>2.8.1-SNAPSHOT</version>
+ <version>2.9.2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -68,7 +68,7 @@
<dependency>
<groupId>org.sakaiproject.contentreview</groupId>
<artifactId>contentreview-service-api</artifactId>
- <version>2.8.1-SNAPSHOT</version><!--turnitin.version-->
+ <version>2.9.2-SNAPSHOT</version><!--turnitin.version-->
</dependency>


Then maven build /contentreview

then maven build /contentreview/contentreview-impl

Also, verify that your sub account has the Assignment2 API configured on the TII account interface.

In Sakai properties, you only need to set the Sub Account ID (ie. aid=#subaccountId)


It sounds like you've done all of that and more than likely it's just an duplicate jar file.

-Bryan
On Mon, Aug 15, 2011 at 11:56 AM, Boyd, Amy E <amyboyd at txstate.edu<mailto:amyboyd at txstate.edu>> wrote:
Hello -

I know several institutions out there are currently using turnitin with Sakai.  I'm trying to integrate the contrib tool here at Texas State University and am running into some errors.

We are running Sakai 2.7.1
I just added Assignments 2 (tags/v1.0 - not in production yet) with no trouble.
I added turnitin/tags/content-review-impl-base-0.6 (I have also tried with 0.5) under the content-review folder
I needed to update the content-review API so updated to tags/contentreview-2.9.0
I modified the pom.xml in content-review to include the new TII module
I've added the appropriate setting in sakai.properties and set the cron jobs to run (they appear to be successful)

I have all of the configurations set up on the turnitin website.

Everything builds and runs, but when creating an assignment and using turnitin, I get the following error:

java.lang.NoSuchMethodError: org.sakaiproject.contentreview.service.ContentReviewService.createAssignment(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V

However, the interface does exist in ContentReviewService.java (this is why I used TII 0.6 - because the interface does not exist it 0.5).  I can't find where it's actually defined though.

I've tried several combinations of content-review-api with turnitin and can't seem to get anything working on Sakai 2.7.1.

Has anyone been successful integrating 2.7.1 with TII?

Any help is appreciated!

- Amy

_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto: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<mailto: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/20110815/863d759d/attachment.html 


More information about the sakai-dev mailing list