[Building Sakai] GradingService not found while adding in new tool code
David Horwitz
david.horwitz at uct.ac.za
Fri Feb 11 05:05:00 PST 2011
Gautham,
You need to add the gradebook API's to your tools pom.xml file:
<dependency>
<groupId>org.sakaiproject.edu-services.gradebook</groupId>
<artifactId>gradebook-service-api</artifactId>
</dependency>
David
On 02/11/2011 03:01 PM, Gautham wrote:
>
> Hi Steve,
>
> Please find the attached java class from New tool where I have added the
> grading service as in
> 'https://confluence.sakaiproject.org/display/BOOT/Using+the+UserDirectoryService"
>
> I have added the below code in attached "ExternalLogicImpl.java"
>
> import org.sakaiproject.tool.assessment.services.GradingService;
>
> ///Grading Service
>
> private GradingService gradingService;
> public void setGradingService(GradingService gradingService) {
> this.gradingService = gradingService;
> }
>
> //Grading Service
>
>
> I have added the below code in attached "components.xml"
>
> <property name="GradingService"
> ref="org.sakaiproject.tool.assessment.services.GradingService" />
>
> Does i need to add any of the grading api's to get Build success. Attached
> is build Error
>
> Any help is highly appreciated.
>
> Regards,
> Gautham
> http://old.nabble.com/file/p30901062/ExternalLogicImpl.java
> ExternalLogicImpl.java http://old.nabble.com/file/p30901062/components.xml
> components.xml
> http://old.nabble.com/file/p30901062/BUILD_Error_GradingService.docx
> BUILD_Error_GradingService.docx
>
More information about the sakai-dev
mailing list