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

Bryan Holladay holladay at longsight.com
Mon Aug 15 09:07:34 PDT 2011


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> 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
> 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/20110815/5dec6ffa/attachment.html 


More information about the sakai-dev mailing list